You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "tdcmeehan (via GitHub)" <gi...@apache.org> on 2023/09/01 19:48:48 UTC

[GitHub] [arrow] tdcmeehan opened a new issue, #37527: [C++][Java][Python][FlightRPC] Allow FlightInfo#Schema to be nullable for long-running queries

tdcmeehan opened a new issue, #37527:
URL: https://github.com/apache/arrow/issues/37527

   ### Describe the enhancement requested
   
   With #36155, implementations of Flight RPC may not return quickly via a newly added `pollFlightInfo` function.  Sometimes, the system implementing this function may not know the output schema for some time--for example, after a lengthy queue time as elapsed, or after planning.
   
   In proto3, fields may not be present, and it's a coding convention to require them [^1]. To support upcoming client integration work for `pollFlightInfo`, the `schema` field can be made optional so that it's not a requirement to populate the `FlightInfo`'s schema on the first `pollFlightInfo` request.
   
   We can modify our client code to allow this field to be optional.  This is already the case for the Go code.
   
   CC: @lidavidm
   
   [^1]: https://protobuf.dev/programming-guides/field_presence/
   
   ### Component(s)
   
   C++, Java, Python


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

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


[GitHub] [arrow] lidavidm commented on issue #37527: [C++][Java][Python][FlightRPC] Allow FlightInfo#Schema to be nullable for long-running queries

Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm commented on issue #37527:
URL: https://github.com/apache/arrow/issues/37527#issuecomment-1715802980

   I added #37677 for C++ to the list.


-- 
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