etseidl commented on code in PR #11438:
URL: https://github.com/apache/arrow-rs/pull/11438#discussion_r4267363321
##########
parquet/src/file/metadata/push_decoder.rs:
##########
@@ -489,6 +470,97 @@ impl ParquetMetaDataPushDecoder {
}
}
+ /// Try to decode the page indexes from the pushed data, returning the
+ /// decoded [`PageIndex`] or an error if not enough data is available.
+ ///
+ /// This method can only be called after [`Self::try_new_with_metadata`],
Review Comment:
I've added an example to the docs for
`ParquetMetaDataReader::read_page_index_and_finish` which I think is the better
place to demonstrate the two stage page index reading.
--
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]