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
{{ message }}
Repository navigation
Filter stats should ensure column-level stats are consistent with filter #22716
#21081 capped the NDV at the row count in statistics computation for several operations, including filters. In the filter case, there's some additional work to ensure column stats are consistent after applying a filter:
Null count should also be capped at the row count
byte_size should be scaled down by the filter selectivity
Furthermore, we can detect when a predicate is NULL-rejecting; for null-rejecting predicates like a = 10, we can set the null_count to 0.
Activity
neilconway commentedon Jun 2, 2026
take
fix: Improve consistency of per-column stats on `FilterExec` output (a…