alamb commented on issue #6412:
URL: https://github.com/apache/arrow-rs/issues/6412#issuecomment-2678544274

   > Basically, I'd like to be able to round-trip a lonely empty record batch, 
for the purpose of creating a table in advance for some actual up-coming data, 
but that doesn't work atm:
   
   If the usecase is to send the schema information before any data, perhaps 
you can use 
   
   
https://docs.rs/arrow-flight/latest/arrow_flight/encode/struct.FlightDataEncoderBuilder.html#method.with_schema
   
   I looked at the code and that looks like it will send the schema information 
immediately (even before any record batches are sent): 
   https://docs.rs/arrow-flight/latest/src/arrow_flight/encode.rs.html#318-320


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

Reply via email to