You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/04/16 16:13:01 UTC

[GitHub] [arrow-rs] tustvold commented on issue #1574: protoc failed: Unknown flag: `--experimental_allow_proto3_optional`

tustvold commented on issue #1574:
URL: https://github.com/apache/arrow-rs/issues/1574#issuecomment-1100699251

   Yes, protoc no longer bundles protoc binaries and instead uses the system versions if available, or builds from source if not - see https://github.com/tokio-rs/prost/pull/610
   
   Unfortunately the arrow-flight specification is using the somewhat new [explicit presence](https://github.com/protocolbuffers/protobuf/blob/main/docs/field_presence.md#how-to-enable-explicit-presence-in-proto3) feature of protobuf, and this will cause issues if compiling with an older version of protoc which doesn't support it.
   
   Perhaps we could check the version of the protoc binary and return a more helpful error message if it is too old 🤔 


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org