-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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: do not return first row until the frame is completed. #12480
Conversation
Codecov Report
@@ Coverage Diff @@
## master #12480 +/- ##
================================================
- Coverage 79.8678% 79.7899% -0.0779%
================================================
Files 461 460 -1
Lines 103809 102172 -1637
================================================
- Hits 82910 81523 -1387
+ Misses 14809 14761 -48
+ Partials 6090 5888 -202 |
/run-all-tests |
4d799e4
to
134b1f1
Compare
/run-all-tests |
/run-all-tests |
2 similar comments
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
Co-Authored-By: Zhuomin(Charming) Liu <lzmhhh123@gmail.com>
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.
@SunRunAway Pls fix the ci, then LGTM
/run-all-tests |
cherry pick to release-3.0 failed |
cherry pick to release-3.1 failed |
…upstream-release-3.0
…upstream-release-3.1
What problem does this PR solve?
Fixes #12415.
What is changed and how it works?
In previous implementation,
windowExec
returns a chunk when a frame is fetched but not evaluated. After rewriting,windowExec
returns a chunk after a frame is finished evaluating.It makes the code simpler, and all the implementation of aggregation functions can reference the data in the frame. The bad side is it will increase the time of meeting first row.
I'll send a following PR(#12481) to revert the changes of copying data in #11678, if this is accepted by reviewers.
Check List
Tests
Code changes
Side effects
Related changes
Release note