Commits

Antoine Pitrou authored 31494860c23
ARROW-16272: [Python] Fix NativeFile.read1() `read1()` should not read the entire input stream but instead return a reasonable amount of bytes, suitable for building up an internal buffer. Should fix the performance issue when using `TextIOWrapper` or `pandas.read_csv` on a S3 input file. Closes #13264 from pitrou/ARROW-16272-native-file-read1 Authored-by: Antoine Pitrou <antoine@python.org> Signed-off-by: Antoine Pitrou <antoine@python.org>