yadavay-amzn opened a new pull request, #16047: URL: https://github.com/apache/iceberg/pull/16047
## Summary Fixes #16035. `ParquetFilters.getParquetPrimitive()` threw `UnsupportedOperationException` for `BigDecimal` and `UUID` literal types, causing Parquet filter pushdown to crash instead of gracefully falling back to post-scan filtering. ## Changes - **`getParquetPrimitive()`**: Return `null` for `BigDecimal`, `UUID`, and any other unhandled literal types instead of throwing. - **`predicate()` visitor**: When a literal cannot be converted to a Parquet primitive, return `AlwaysTrue` (skip filter) so post-scan filtering handles correctness. - Replace the final `throw UnsupportedOperationException` in `predicate()` with `AlwaysTrue` for unhandled type IDs. ## Testing Added `TestParquetFilters` with tests verifying that decimal and UUID predicates no longer throw and instead produce `FilterCompat.NOOP`. -- 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]
