jonmmease opened a new issue, #6368:
URL: https://github.com/apache/arrow-datafusion/issues/6368

   ### Is your feature request related to a problem or challenge?
   
   Follow on to https://github.com/apache/arrow-datafusion/pull/6337. 
   
   Currently when reading an arrow file from a stream, the entire stream is 
parsed as a file in order to determine the schema:
   
   
https://github.com/apache/arrow-datafusion/blob/8a47c42096311cf9b6191cfb9d96e2d9ba3a630d/datafusion/core/src/datasource/file_format/arrow.rs#L60-L63
   
   This will result in parsing the stream multiple times (once to determine the 
schema and again later to actually build RecordBatches from the stream).
   
   Can we be more efficient here by only looking as far into the stream as 
necessary to read the schema?
   
   ### Describe the solution you'd like
   
   _No response_
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   _No response_


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