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
Commit e5d3cc8
Browse filesBrowse the repository at this point in the historyBrowse files
Prove comparisons true for every row from statistics
Stats rewrites could only falsify a predicate. A scan can also skip a
predicate that statistics prove true for every row, for example a hash
join bound that covers the whole range of a column in a file.
- Binary comparisons, AND, OR and BETWEEN get `satisfy` rules. A
comparison is proven when the bounds of its operands order every pair
of values and neither operand holds a null or a NaN.
- `VortexFile::is_satisfied` proves a filter from the file statistics.
- `VortexFile::is_satisfied_by_non_null_rows` proves it for the rows in
which no column is null. This holds when a filter would only remove
rows with nulls.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Robert Kruszewski <[email protected]>
0 commit comments