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 29096cf
Browse filesBrowse the repository at this point in the historyBrowse files
- Move duplicated `transformed_if_changed` into `utils.rs` and use it
from `decorrelate_predicate_subquery`, `eliminate_cross_join`,
`optimize_unions`, and `push_down_join`.
- `eliminate_duplicated_expr`: track change inline via length comparison
and skip the `Aggregate::try_new`/`Sort` rebuild when no duplicates
are present — avoids both the helper call and the schema-recompute.
- `optimize_projections`: avoid cloning the whole `Window`/`TableScan`
when nothing changes; OR `aggregate_changed` into the recursive
result so the `Aggregate` branch reports `Transformed::yes` when FD
pruning reduces group_expr/aggr_expr counts.
- `optimizer.rs`: extract the `Transformed::yes`/`no` consistency check
into `assert_transformed_matches_plan` so the loop stays readable.
- `push_down_filter`: revert the simplify-predicate check to a
length-based comparison (matches `simplify_predicates` actual
semantics — it only changes content via merging, not reordering).
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
0 commit comments