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

[GitHub] [arrow] kou commented on pull request #37528: GH-37527: [Java] Allow FlightInfo#Schema to be nullable for long-running queries

kou commented on PR #37528:
URL: https://github.com/apache/arrow/pull/37528#issuecomment-1703331770

   It seems that the current implementation already accepts the empty schema message. And an empty schema is used for the case.
   
   https://github.com/apache/arrow/blob/a43206846a02028fc2ac5091c388aa65b07799c1/java/flight/flight-core/src/main/java/org/apache/arrow/flight/FlightInfo.java#L115-L118
   
   How about passing an empty instead of accepting `null` schema when we can't create a schema for long-running queries?
   What is the difference of the above explicit empty schema approach and your suggested implicit empty schema approach? Easy to write?


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