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
Support rewriting subquery expressions in simplify_expressions #3770
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
PR #3764 reverts a regression in optimizing subqueries but does so by running simplify_expressions a second time, after subqueries have been converted to joins.
This is not the ideal solution.
Describe the solution you'd like simplify_expressions should rewrite subqueries instead. This will support all subqueries, not just the ones that can be converted to joins.
Activity
HaoYang670 commentedon Oct 23, 2022
Do we need to consider the schema infomation of the parent query when optimizing the subquery?
Run optimzer rules on subqueries by default
Run optimzer rules on subqueries by default
Run optimzer rules on subqueries by default (#13066)