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
fix: stats init requires sort pushdown + no WHERE clause
Stats init is only safe when:
1. Sort pushdown active (sorted, non-overlapping RGs)
2. Predicate is DynamicFilter only (no WHERE clause)
WHERE clause narrows qualifying rows below what raw statistics
suggest, making the threshold potentially unsafe even on sorted data.
Type coercion (CastExpr) issues also need resolution for general
TopK support — tracked as follow-up work.
Includes type cast fix (parquet stats type → column type) and
surviving-rows safety check for future use.
0 commit comments