viirya commented on code in PR #3368:
URL: https://github.com/apache/arrow-rs/pull/3368#discussion_r1052575747
##########
arrow-csv/src/reader/mod.rs:
##########
@@ -1041,10 +1044,15 @@ impl ReaderBuilder {
}
/// Create a new `Reader` from the `ReaderBuilder`
- pub fn build<R: Read + Seek>(
+ pub fn build<R: Read + Seek>(self, reader: R) -> Result<Reader<R>,
ArrowError> {
+ self.build_buffered(StdBufReader::new(reader))
+ }
Review Comment:
Feel that it might be slightly confused when using `build` or
`build_buffered`. Maybe,
```
/// Create a new `Reader` from a non-buffered reader using the
`ReaderBuilder`.
```
--
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]