Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.14.0
-
None
Description
Currently Drill uses 2.5.0 protocol-buffers version.
The last version is 3.6.0 in maven repo: https://mvnrepository.com/artifact/com.google.protobuf/protobuf-java
The new version has a lot of useful enhancements, which can be used in Drill.
One of them is using UNRECOGNIZED Enum NullValue, which can help to handle them in place of null values for ProtocolMessageEnum - DRILL-6639.
Looks like the NullValue can be used instead of null returned from valueOf() (or forNumber(), since valueOf() is deprecated in the newer protobuf version):
https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/NullValue
Attachments
Issue Links
- causes
-
DRILL-7105 Error while building the Drill native client
- Resolved
- is duplicated by
-
DRILL-5509 Upgrade Drill protobuf support from 2.5.0 to latest 3.3
- Closed
- is related to
-
DRILL-7040 Update Protocol Buffers syntax to proto3
- Open
- relates to
-
DRILL-6639 Exception happens while displaying operator profiles for some queries
- Closed
-
DRILL-5509 Upgrade Drill protobuf support from 2.5.0 to latest 3.3
- Closed
-
DRILL-7172 README files for steps describing building C++ Drill client (with protobuf) needs to be updated
- Open
- links to