You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Anton Gozhiy (JIRA)" <ji...@apache.org> on 2019/03/06 12:22:00 UTC

[jira] [Commented] (DRILL-6642) Update protocol-buffers version

    [ https://issues.apache.org/jira/browse/DRILL-6642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16785567#comment-16785567 ] 

Anton Gozhiy commented on DRILL-6642:
-------------------------------------

Merged into master with commit 2c3e2de2f94fd3f21a11c22b7944b94953e4f397

> Update protocol-buffers version
> -------------------------------
>
>                 Key: DRILL-6642
>                 URL: https://issues.apache.org/jira/browse/DRILL-6642
>             Project: Apache Drill
>          Issue Type: Task
>          Components: Tools, Build &amp; Test
>    Affects Versions: 1.14.0
>            Reporter: Vitalii Diravka
>            Assignee: Anton Gozhiy
>            Priority: Major
>             Fix For: 1.16.0
>
>
> 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]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)