Khaled Hammouda created FLINK-38547:
---------------------------------------

             Summary: Upgrade protobuf-java from 3.x to 4.32.1 with 
compatibility patch for parquet-protobuf
                 Key: FLINK-38547
                 URL: https://issues.apache.org/jira/browse/FLINK-38547
             Project: Flink
          Issue Type: Improvement
          Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile)
    Affects Versions: 2.1.0
            Reporter: Khaled Hammouda


Flink currently uses protobuf-java 3.x, causing incompatibility issues with 
applications trying to use protobuf 4.x.

In particular, `flink-formats/flink-protobuf` still uses a protobuf 3.x API 
that were removed (Descriptors.FileDescriptor.Syntax enum used for 
proto2/proto3 syntax detection).

Also, the `parquet-protobuf` dependency (parquet-java 1.15.2) still uses the 
same API, and thus requires a local patch until the same protobuf version 
upgrade is completed upstream 
([https://github.com/apache/parquet-java/issues/3175).]

I'll can submit a PR that implements this upgrade.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to