You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ARROW-16187: [Go][Parquet] Properly utilize BufferedStream and buffer size when reading
Currently the BufferSize in the `ReaderProperties` isn't utilized properly when enabling BufferedStreams. This fixes that issue so that enabling `BufferedStream` reading via the properties will correctly utilize the given buffer size when reading. The default buffersize is currently 16K, so reads that are larger than that will ignore the buffering and just pull directly from the underlying reader when BufferedStream is enabled, pulling the entire page or otherwise from the reader if BufferedStream is not enabled.
The buffer size can be set larger so that controlled reads can improve performance on high-latency readers without having to use the memory to read the entire column/page/row group into memory.
Closesapache#12876 from zeroshade/arrow-16187-parquet-buffered-stream
Lead-authored-by: Matthew Topol <mtopol@factset.com>
Co-authored-by: Matthew Topol <zotthewizard@gmail.com>
Signed-off-by: Matthew Topol <mtopol@factset.com>
0 commit comments