anoopj opened a new issue, #3246: URL: https://github.com/apache/iceberg-rust/issues/3246
### Apache Iceberg Rust version current main (commit 8193cce4b) ### Describe the bug A predicate on a binary column crashes the scan when the Parquet file has a page index. PageIndexEvaluator decodes every BYTE_ARRAY page bound as a UTF-8 string: ``` PrimitiveLiteral::String(String::from_utf8(val.to_vec()).unwrap()) ``` Binary bounds usually aren't valid UTF-8, so the unwrap() panics. Byte-encoded decimal bounds (from some non-standard writers) hit the same path. The fix is to decode the bound based on the column's type instead of assuming UTF-8, the same way arrow/schema.rs already does for row-group stats. ### To Reproduce _No response_ ### Expected behavior _No response_ ### Willingness to contribute None -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
