alamb commented on code in PR #9540:
URL: https://github.com/apache/arrow-rs/pull/9540#discussion_r3454493237
##########
parquet/src/arrow/arrow_reader/statistics.rs:
##########
@@ -1495,6 +1501,45 @@ impl<'a> StatisticsConverter<'a> {
})
}
+ /// Create a new `StatisticsConverter` from a Parquet leaf column index
directly.
+ ///
+ /// Unlike [`Self::try_new`], this constructor bypasses schema resolution
and
+ /// accepts a Parquet column index directly. This is useful for nested
fields
+ /// (e.g., struct fields) where the caller has already resolved the mapping
+ /// from the Arrow field to the Parquet leaf column.
+ ///
+ /// # Arguments
+ ///
Review Comment:
@friendlymatthew did in
https://github.com/apache/arrow-rs/pull/9540/changes/0d075e8cf8b2a7c9349e00677a6636340e0290b0
--
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]