-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
planner: report error for invalid window specs which are not used (#21083) #21976
planner: report error for invalid window specs which are not used (#21083) #21976
Conversation
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
/run-all-tests |
@dyzsr you're already a collaborator in bot's repo. |
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
/run-all-tests tidb-test=pr/1153 |
/run-common-test tidb-test=pr/1153 |
/run-integration-common-test tidb-test=pr/1153 |
/run-all-tests |
/merge |
Your auto merge job has been accepted, waiting for:
|
/run-all-tests |
@ti-srebot merge failed. |
/run-all-tests |
/run-integration-common-test tidb-test=pr/1153 |
Should we merge https://github.com/pingcap/tidb-test/pull/1153 first? @dyzsr |
Yes |
/run-all-tests tidb-test=pr/1153 |
/run-all-tests |
/run-all-tests |
cherry-pick #21083 to release-4.0
What problem does this PR solve?
Issue Number: close #12356
Problem Summary: Didn't check for invalid window specs if they are not used in window functions.
What is changed and how it works?
windowOrderBy
,partitionBy
.groupWindowFuncs
to store unused named window specs.buildWindowFunctions
.Related changes
Check List
Tests
Side effects
Release note