-
Notifications
You must be signed in to change notification settings - Fork 916
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
Incorrect map size in scatter_to_gather corrupts struct columns #8507
Incorrect map size in scatter_to_gather corrupts struct columns #8507
Conversation
Simplifies copy_if_else by skipping gather on lhs, and using lhs directly as the rhs scatter destinations for 0-rows in select col. Closes rapidsai#8356 Co-authored-by: MithunR <[email protected]>
e9f8465
to
75faa03
Compare
Codecov Report
@@ Coverage Diff @@
## branch-21.08 #8507 +/- ##
================================================
+ Coverage 82.53% 82.91% +0.38%
================================================
Files 110 110
Lines 17739 18094 +355
================================================
+ Hits 14640 15002 +362
+ Misses 3099 3092 -7
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.
I don't know if my approval is strictly kosher here, but 👍.
We can add a test for LEAD()
/LAG()
at a later date. I'm certain that this fixes that as well.
@mythrocks I discussed with @sameerz and @revans2 and they agreed this is not needed in 21.06 because Spark has disabled this functionality in that release due to the issue fixed here. |
@gpucibot merge |
This PR is for #8281, since the bug has been fixed by #8507. So just enable the test. Authors: - Bobby Wang (https://github.com/wbo4958) Approvers: - Liangcai Li (https://github.com/firestarman) URL: #8548
Fixes the scatter map size to the target column size.
Simplifies
copy_if_else
by skipping gather on lhs, and using lhs directly as the rhs scatter destinations for 0-rows in select col.Closes #8356
Co-authored-by: @mythrocks