Uh oh!
There was an error while loading. Please reload this page.
fix: make ntile work in some corner cases - #8371
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
comphead
left a comment
There was a problem hiding this comment.
Thanks @haohuaijin we prob can also test partition by nullorder by null cases
alamb
commented
Nov 30, 2023
Perhaps @mustafasrepo or @ozankabak has time to review this code as they are more familiar with |
alamb
left a comment
There was a problem hiding this comment.
I think this code looks good -- thank you @haohuaijin . If you can make the changes requested by @comphead I think this PR will be good to go
haohuaijin
commented
Dec 1, 2023
@comphead I find I file an issue #8386 to track this. |
Uh oh!
There was an error while loading. Please reload this page.
mustafasrepo
left a comment
There was a problem hiding this comment.
Thank @haohuaijin for this PR. It is rally nice. I added a minor comment (purely stylistic, you can ignore it if you wish). This PR is LGTM!.
Co-authored-by: Mustafa Akur <106137913+mustafasrepo@users.noreply.github.com>
alamb
left a comment
There was a problem hiding this comment.
Thank you @haohuaijin and @mustafasrepo
* fix: make ntile work in some corner cases * fix comments * minor * Update datafusion/sqllogictest/test_files/window.slt Co-authored-by: Mustafa Akur <106137913+mustafasrepo@users.noreply.github.com> --------- Co-authored-by: Mustafa Akur <106137913+mustafasrepo@users.noreply.github.com>
Which issue does this PR close?
Closes#8284
Rationale for this change
fix#8284
What changes are included in this PR?
Add parameter type checking using
Signature,before
after
make
ntilework properly, when parameter greater than table's row numberAre these changes tested?
yes, add more test
Are there any user-facing changes?