Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-6642

Update protocol-buffers version

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.14.0
    • 1.17.0
    • Tools, Build & Test
    • 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

          Activity

            People

              angozhiy Anton Gozhiy
              vitalii Vitalii Diravka
              Vova Vysotskyi Vova Vysotskyi
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: