-
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: support window function first_value and last_value #9560
Conversation
Codecov Report
@@ Coverage Diff @@
## master #9560 +/- ##
=========================================
- Coverage 67.41% 67.3% -0.11%
=========================================
Files 375 376 +1
Lines 78809 78963 +154
=========================================
+ Hits 53126 53143 +17
- Misses 20919 21057 +138
+ Partials 4764 4763 -1
Continue to review full report at Codecov.
|
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 |
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
@zz-jason Resolved conflicts, please help approve again. |
What problem does this PR solve?
Support window function first_value and last_value.
Refer https://dev.mysql.com/doc/refman/8.0/en/window-function-descriptions.html#function_first-value and https://dev.mysql.com/doc/refman/8.0/en/window-function-descriptions.html#function_last-value.
For #9499
What is changed and how it works?
first_value
,last_value
,nth_value
,lead
andlag
.Check List
Tests
Code changes
Side effects
Related changes