-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-29108][SQL][TESTS] Port window.sql (Part 2) #26121
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
Conversation
Signed-off-by: DylanGuedes <[email protected]>
|
add to whitelist |
|
Test build #112097 has finished for PR 26121 at commit
|
|
@DylanGuedes Thanks for the work. |
|
#26107 is merged. Thanks, @gengliangwang . |
|
Retest this please. |
|
Test build #112122 has finished for PR 26121 at commit
|
HyukjinKwon
left a comment
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.
Seems fine. I'm going to merge this in few days.
| -- nth_value(salary, 1) over(order by salary range between 1000 preceding and 1000 following), | ||
| -- salary from empsalary; | ||
|
|
||
| select last(salary) over(order by salary range between 1000 preceding and 1000 following), |
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.
Nit: It would be better if the SQL keywords are all in UPPERCASE.
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.
I can make them uppercase, but, are you sure? I think that in PostgreSQL they are not always uppercase, such that the diff will be totally different.
|
I'm going to just merge this. It has been open so long and I am sure it has been exposed to reviewers enough time. |
|
Merged to master. |
What changes were proposed in this pull request?
This PR ports window.sql from PostgreSQL regression tests https://github.com/postgres/postgres/blob/REL_12_STABLE/src/test/regress/sql/window.sql from lines 320~562
The expected results can be found in the link: https://github.com/postgres/postgres/blob/REL_12_STABLE/src/test/regress/expected/window.out
How was this patch tested?
Pass the Jenkins.
Why are the changes needed?
To ensure compatibility with PGSQL
Does this PR introduce any user-facing change?
No
How was this patch tested?
Comparison with PgSQL results.