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
Preserve constant values across union operations (#13805)
* Add value tracking to ConstExpr for improved union optimization
* Update PartialEq impl
* Minor change
* Add docstring for ConstExpr value
* Improve constant propagation across union partitions
* Add assertion for across_partitions
* fix fmt
* Update properties.rs
* Remove redundant constant removal loop
* Remove unnecessary mut
* Set across_partitions=true when both sides are constant
* Extract and use constant values in filter expressions
* Add initial SLT for constant value tracking across UNION ALL
* Assign values to ConstExpr where possible
* Revert "Set across_partitions=true when both sides are constant"
This reverts commit 3051cd4.
* Temporarily take value from literal
* Lint fixes
* Cargo fmt
* Add get_expr_constant_value
* Make `with_value()` accept optional value
* Add todo
* Move test to union.slt
* Fix changed slt after merge
* Simplify constexpr
* Update properties.rs
---------
Co-authored-by: berkaysynnada <[email protected]>
0 commit comments