corneliusroemer commented on issue #1059:
URL: https://github.com/apache/arrow-rs/issues/1059#issuecomment-997530963


   Thanks @jorgecarleitao. I'm a beginner at Rust so please bear with me. How 
do you decide how big the buffer will get? Will all of the input be read into 
this buffer?
   
   Does your code allow to release the buffer once schema inference has been 
completed? That's how it would be best: read into memory until schema inference 
is done, then release. Schema inference options would determine how much is 
read into memory. This could be set by the user to say first 100 lines to keep 
buffer memory usage down.


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