-
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
executor: fix wrong partition boundary for window funcions #11637
Conversation
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
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 |
@lamxTyler merge failed. |
Codecov Report
@@ Coverage Diff @@
## master #11637 +/- ##
===========================================
Coverage ? 81.4103%
===========================================
Files ? 435
Lines ? 94122
Branches ? 0
===========================================
Hits ? 76625
Misses ? 11997
Partials ? 5500 |
/run-all-tests |
@lamxTyler merge failed. |
Can not merge now. need to be merged together with another PR
/run-all-tests |
/run-all-tests |
/run-common-test tidb-test=pr/872 |
/run-unit-test |
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
cherry pick to release-3.0 failed |
…cherry-pick-of-pingcap#11637-upstream-release-3.0
What problem does this PR solve?
Fix #11612
What is changed and how it works?
Previously, when we meet one new partition, the next row will also be added in
groupRows
, which may cause wrong result since it was counted in previous partition. This PR fixes it by only processing the next partition after prevoius one finished.Check List
Tests
Code changes
Side effects
Related changes