-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[Enhancement](grouping) Add a switch for users to force using alias name in group by and having clause #15748
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
Conversation
|
TeamCity pipeline, clickbench performance test result: |
|
add a regression test |
|
Please update variables.md doc |
d50566d to
2c23154
Compare
|
Update docs and add regression test |
396419d to
fd464ac
Compare
7ca6494 to
ce956ab
Compare
| } | ||
|
|
||
| substituteOrdinalsAliases(groupingExprs, "GROUP BY", analyzer, false); | ||
| boolean aliasFirst = ConnectContext.get().getSessionVariable().isGroupByAndHavingUseAliasFirst(); |
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.
The ConnectContext.get() may be null when replaying edit log
2e4cda6 to
1a6e9fc
Compare
yangzhg
left a comment
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
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
…ame in group by and having clause (apache#15748)
…ame in group by and having clause (apache#15748)
…ame in group by and having clause (apache#15748)
this variable intro by apache#15748 for backward compatibility. currently, it is used very infrequently. Nereids do not support it anymore. So, we tag it as deprecated, and will remove it future.
) this variable intro by #15748 for backward compatibility. currently, it is used very infrequently. Nereids do not support it anymore. So, we tag it as deprecated, and will remove it in the future.
) this variable intro by #15748 for backward compatibility. currently, it is used very infrequently. Nereids do not support it anymore. So, we tag it as deprecated, and will remove it in the future.
Proposed changes
Issue Number: close #15747
Problem summary
Describe your changes.
Checklist(Required)
Further comments
If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...