justinli500 commented on code in PR #49855:
URL: https://github.com/apache/arrow/pull/49855#discussion_r3725727087
##########
cpp/src/parquet/file_reader.h:
##########
@@ -201,6 +201,12 @@ class PARQUET_EXPORT ParquetFileReader {
const ::arrow::io::IOContext& ctx,
const ::arrow::io::CacheOptions& options);
+ /// \brief Release cached bytes (from PreBuffer()) ending at or before
+ /// `end_offset`. Call once those row groups are decoded; later reads of
evicted
+ /// ranges fall back to the source file. No-op (returns 0) if PreBuffer()
was not
+ /// called.
+ int64_t EvictPreBufferedDataBefore(int64_t end_offset);
Review Comment:
Good point - I changed this to `void` and updated the tests.
--
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]