You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/12/18 05:55:54 UTC

[GitHub] [arrow-rs] jorgecarleitao commented on issue #1059: Allow csv reader builder to do schema inference even when reading csv from stdin

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


   I think that this may be achieved with the current code with a generic struct over `R: Read` that wraps a `reader: R` that
   
   1. implements `Read` and buffers the result.
   2. implements `Seek` to positions smaller than the buffer (and panics otherwise)
   3. when the read happens over the buffered result, it reads first from the buffer up to the length of the buffered result, and then from the inner reader
   
   


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