friendlymatthew commented on code in PR #7906: URL: https://github.com/apache/arrow-rs/pull/7906#discussion_r2201846629
########## parquet-variant/src/variant/object.rs: ########## @@ -242,6 +242,8 @@ impl<'m, 'v> VariantObject<'m, 'v> { } else { // The metadata dictionary can't guarantee uniqueness or sortedness, so we have to parse out the corresponding field names // to check lexicographical order + // + // Since we are probing the metadata dictionary by field id, this also verifies field ids are in-bounds let are_field_names_sorted = field_ids .iter() Review Comment: Since the `map` returns a `Result<T>`, I needed to manually loop through the iterator -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org