-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Take fsb null indices #8981
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
Take fsb null indices #8981
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.
Maybe one note for this change. As I understand it, some take kernels are using to_usize while others are using as_usize. I've now used as_usize as it is also used in the take_native kernel.
Is there any guidelines on which operation we should use?
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 tried to "revive" the old PR but without much success. So before wrangling against GitHub let's just use this one. Thanks for taking the initiative and creating this PR!
|
run benchmark take_kernels |
|
🤖 |
|
🤖: Benchmark completed Details
|
|
Thanks again @tobixdev |
#19800) ## Which issue does this PR close? Adds a reproducer for #19067 and closes #19067. ## Rationale for this change The bug has been fixed in arrow-rs (apache/arrow-rs#8981). To ensure this case is covered in the tests, we add a reproducer. ## What changes are included in this PR? - SLT test case exhibiting the issue. DISCLAIMER: First version was generated using AI from the original reproducer and improved by me. Happy to incorporate further suggestions for improvements. ## Are these changes tested? Yes. I've also ensure that the test case exhibits the issue on `branch-51`. Diff when running the test on `branch-51`: ``` [Diff] (-expected|+actual) 1 aaaaaaaa aaaaaaaa 1000 2 bbbbbbbb bbbbbbbb 2000 - 3 cccccccc NULL NULL + 3 cccccccc aaaaaaaa NULL ``` ## Are there any user-facing changes? No
Which issue does this PR close?
take_fixed_size_binaryDoes Not Consider NULL Indices #8947Rationale for this change
I messed up @tobixdev 's PR / branch by accident in #8948
This PR contains the previous commits that were in that PR
What changes are included in this PR?
Are these changes tested?
Yes, by CI
Are there any user-facing changes?
Less bugs, faster code