You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Iceberg residual serialization currently requires both sides of an AND to convert. Collection null checks cannot bind in the pinned iceberg-rust version, so a query such as WHERE l IS NOT NULL AND id > 5 drops the entire residual and loses native row-group pruning on id.
The post-scan filter still enforces the complete predicate, so this is a performance limitation, not incorrect results. PR #5732 allows collection-null scans to remain native. Its review also requests skipping unbindable complex-column null predicates before serialization; the conservative whole-conjunction behavior should remain until safe partial pushdown is implemented.
Proposed improvement
Preserve representable conjuncts when safely weakening a residual in positive polarity. Keep the exact post-scan filter. Do not simply change every AND to keep whichever side converted: beneath NOT, that would strengthen the predicate and can incorrectly prune rows. Likewise, dropping an unsupported OR branch is unsafe.
Validation
A list/map null predicate combined with a primitive predicate retains primitive row-group pruning and matches Spark results.
Nested NOT, OR, and mixed conjunctions preserve all qualifying rows.
Missing or unsupported predicates continue to disable pushdown whenever safe weakening cannot be established.
Cover null values and files containing both matching and nonmatching primitive values; verify actual pruning metrics, not only serialized predicate shape.
Activity
rich7420 commentedon Oct 2, 2026
take
perf: preserve supported Iceberg residual conjuncts
perf: preserve supported Iceberg residual conjuncts
perf: preserve supported Iceberg residual conjuncts
perf: preserve supported Iceberg residual conjuncts