kou opened a new issue, #35961: URL: https://github.com/apache/arrow/issues/35961
### Describe the enhancement requested `FlightSql.proto` uses `optional`. `optional` is added in Protobuf 3.12.0 as an experimental feature: https://github.com/protocolbuffers/protobuf/releases/tag/v3.12.0 > [experimental] Singular, non-message typed fields in proto3 now support presence tracking. This is enabled by adding the "optional" field label and passing the --experimental_allow_proto3_optional flag to protoc. `optional` was marked as a official feature in Protobuf 3.15.0: https://github.com/protocolbuffers/protobuf/releases/tag/v3.15.0 > Optional fields for proto3 are enabled by default, and no longer require the --experimental_allow_proto3_optional flag. We require Protobuf 3.15.0 or later for Flight SQL but Ubuntu 22.04 LTS ships Protobuf 3.12.4: https://packages.ubuntu.com/search?keywords=protobuf-compiler If we accept Protobuf 3.12.0 or later by usung `--experimental_allow_proto3_optional` flag, we can use system Protobuf on Ubuntu 22.04. It reduces CI time and deb package build time. ### Component(s) C++, FlightRPC -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
