girotomas opened a new pull request, #19325: URL: https://github.com/apache/iceberg/pull/19325
ParquetMetricsRowGroupFilter now evaluates predicates on variant extracts with the column chunk metrics of the shredded typed_value column of the path, for top-level variant columns. The typed metrics are used only when the value column next to the typed_value column is absent or holds only nulls and variant nulls, because values that do not fit the shredded type are stored there. They are also used only when the shredded type is cast to the extract type without conversion, which VariantExpressionUtil now exposes. Otherwise the row group is read. The existing comparison logic is reused for both regular columns and extracts. BoundExtract exposes the parsed path fields. Tests cover fallback values at the leaf and the root, variant nulls, nested paths, type mismatches, widening casts, startsWith, NaN, and paths that are not shredded. Closes #15510 -- 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]
