-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Enable SortProjectTransposeRule #15002
Enable SortProjectTransposeRule #15002
Conversation
kgyrtkirk
commented
Sep 18, 2023
•
edited
Loading
edited
- contains Enable already passing tests in DecoupledPlanningCalciteQueryTest #14996
- enables a transpose rule to support a query plan in which the plan was in the shape:
"s1", | ||
new FieldAccessPostAggregator("s0", "a0:agg"), | ||
"_p1", | ||
new FieldAccessPostAggregator("_p0", "a0:agg"), |
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.
Why did these change?
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.
there are 2 callsites to create the postaggregates - one of them uses p
and the other s
as prefix; I was getting almost 100% matching plans with column alias mistmatches because of the different prefixes - so I've changed that; as the main importance of them is to have them unique.
I've today tried to remove the change of that prefix thing - and I think that change might not be needed in this patch.
I've update the PR