Skip to content

Add support for protobuf version 4.29.x #3175

Description

@ilanKeshet

Describe the enhancement requested

Hi all,
First of all let me start by saying Thank You 🙏

Please add support for protobuf major version 4 preferably 4.29.1

At December 2023 Protobuf java library added support for the Editions feature which resulted in major version change starting at version 4.26

I've noticed that a PR upgrading to version 4 was previously rejected #1308.

The error below is a result of attempting to run version 1.15.0 with protobuf version 4.29.1 .
the specific failure presented is the result of the change linked below.
protocolbuffers/protobuf@65c65c2#diff-2228551d02c6661809ca7103db9512eef4c2d01f35556d42316543d92a89edef:~:text=Edition%20getEdition()%20%7B

java.lang.NoSuchMethodError: com.google.protobuf.Descriptors$FileDescriptor.getSyntax()Lcom/google/protobuf/Descriptors$FileDescriptor$Syntax;
at org.apache.parquet.proto.ProtoWriteSupport$MessageWriter.writeAllFields(ProtoWriteSupport.java:449)
at org.apache.parquet.proto.ProtoWriteSupport$MessageWriter.writeTopLevelMessage(ProtoWriteSupport.java:423)
at org.apache.parquet.proto.ProtoWriteSupport.write(ProtoWriteSupport.java:139)
at org.apache.parquet.proto.ProtoWriteSupport.write(ProtoWriteSupport.java:74)
at org.apache.parquet.hadoop.InternalParquetRecordWriter.write(InternalParquetRecordWriter.java:152)
at org.apache.parquet.hadoop.ParquetWriter.write(ParquetWriter.java:425

Many many thanks
🙏

Component(s)

Protobuf

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions