-
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: fix error caused by different length between inner and outer OrderByItems #8273
Conversation
Hi contributor, thanks for your PR. This patch needs to be approved by someone of admins. They should reply with "/ok-to-test" to accept this PR for running test automatically. |
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 |
It will be nice if you can add the case mentioned in the issue as an integration test. |
Ok I will add it. |
/run-all-tests |
@mtunique Could you please cherry-pick this PR to the release-2.1 and release-2.0 branch after it merged? |
OK |
/run-all-tests |
Done. Add two explain cases. |
LGTM |
What problem does this PR solve?
Fix #8198 nest different size order by.
What is changed and how it works?
matchItems
function cannot cover the case that the length of columns is greater than items.Check the length before iterating the columns.
Check List
Tests
Related changes