-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move row expression above last projectionPushDown #13047
Conversation
bc448d1
to
951ae35
Compare
951ae35
to
e0a3638
Compare
1453b67
to
d022a19
Compare
d022a19
to
cc7e6d3
Compare
cc7e6d3
to
2d7c1c6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some early comments
presto-main/src/test/java/com/facebook/presto/sql/planner/assertions/PlanAssert.java
Show resolved
Hide resolved
presto-main/src/main/java/com/facebook/presto/sql/planner/iterative/rule/InlineProjections.java
Show resolved
Hide resolved
presto-main/src/main/java/com/facebook/presto/sql/planner/iterative/rule/InlineProjections.java
Outdated
Show resolved
Hide resolved
presto-main/src/main/java/com/facebook/presto/sql/planner/iterative/rule/InlineProjections.java
Outdated
Show resolved
Hide resolved
presto-main/src/main/java/com/facebook/presto/sql/planner/iterative/rule/InlineProjections.java
Outdated
Show resolved
Hide resolved
presto-main/src/main/java/com/facebook/presto/sql/planner/iterative/rule/InlineProjections.java
Outdated
Show resolved
Hide resolved
...ain/src/main/java/com/facebook/presto/sql/planner/optimizations/UnaliasSymbolReferences.java
Outdated
Show resolved
Hide resolved
presto-main/src/main/java/com/facebook/presto/sql/planner/iterative/rule/Util.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Finished review. LGTM % minor issues
presto-main/src/main/java/com/facebook/presto/sql/planner/iterative/rule/InlineProjections.java
Outdated
Show resolved
Hide resolved
...ain/src/main/java/com/facebook/presto/sql/planner/optimizations/UnaliasSymbolReferences.java
Outdated
Show resolved
Hide resolved
presto-main/src/main/java/com/facebook/presto/sql/planner/RowExpressionVariableInliner.java
Show resolved
Hide resolved
2d7c1c6
to
714b6e0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM % nits
presto-main/src/test/java/com/facebook/presto/sql/planner/assertions/PlanAssert.java
Show resolved
Hide resolved
presto-main/src/main/java/com/facebook/presto/sql/planner/iterative/rule/InlineProjections.java
Outdated
Show resolved
Hide resolved
presto-main/src/main/java/com/facebook/presto/sql/planner/iterative/rule/Util.java
Outdated
Show resolved
Hide resolved
6f3a493
to
e410d0a
Compare
presto-main/src/main/java/com/facebook/presto/sql/relational/FunctionResolution.java
Show resolved
Hide resolved
e410d0a
to
98c47aa
Compare
presto-main/src/main/java/com/facebook/presto/sql/planner/iterative/rule/InlineProjections.java
Outdated
Show resolved
Hide resolved
presto-main/src/main/java/com/facebook/presto/sql/planner/iterative/rule/InlineProjections.java
Outdated
Show resolved
Hide resolved
presto-main/src/test/java/com/facebook/presto/sql/planner/optimizations/TestEliminateSorts.java
Outdated
Show resolved
Hide resolved
98c47aa
to
a9cc91a
Compare
16ccae9
to
1feea40
Compare
Thanks for reviewing! Updated to the last comments. |
Printing unresolved plan that contains GroupReference will cause problem in translation. Also it does not provide more information than resolved plan.
1feea40
to
3a89a52
Compare
Is this good to merge? Assign to me if it is. |
Consider that these refactoring has triggered some bugs in previous releases, do we want to run some independent verifier tests before merging? |
Yes, verifier tests passed with 4000 queries. |
On top of #12982