fatemehp commented on code in PR #14603:
URL: https://github.com/apache/arrow/pull/14603#discussion_r1049250913
##########
cpp/src/parquet/column_reader.h:
##########
@@ -115,11 +133,26 @@ class PARQUET_EXPORT PageReader {
bool always_compressed = false,
const CryptoContext* ctx = NULLPTR);
+ // If data_page_filter_ is present (not null), NextPage() will call the
+ // callback function exactly once per page in the order the pages appear in
+ // the column. If the callback function returns true the page will be
+ // skipped. The callback will be called only if the page type is DATA_PAGE or
+ // DATA_PAGE_V2. Dictionary pages will not be skipped.
+ // This setter must be called at most once to set the callback.
+ // \note API EXPERIMENTAL
Review Comment:
Ok, I removed the is_stats_set, it will return nullptr for
encoded_statistics if there are no statistics in the header. I added that to
the comments.
--
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]