-
Notifications
You must be signed in to change notification settings - Fork 915
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
Fix ORC writer crash with empty input columns #9808
Fix ORC writer crash with empty input columns #9808
Conversation
Codecov Report
@@ Coverage Diff @@
## branch-22.02 #9808 +/- ##
================================================
- Coverage 10.49% 10.47% -0.02%
================================================
Files 119 119
Lines 20305 20368 +63
================================================
+ Hits 2130 2133 +3
- Misses 18175 18235 +60
Continue to review full report at Codecov.
|
That's a lot of lines changed. Can you point me to the core of the changes which fix the issue? |
It's actually a small change, and all of it is relevant for the fix. The line count comes from added code blocks. Please try reviewing with "Hide whitespace" on. |
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.
Looks good overall. Couple small suggestions
Co-authored-by: Conor Hoekstra <[email protected]>
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.
🔥
@gpucibot merge |
Follow up of #9808 Skips some kernels when input columns are empty to avoid OOB memory access. Authors: - Vukasin Milovanovic (https://github.com/vuule) Approvers: - Devavret Makkar (https://github.com/devavret) - Nghia Truong (https://github.com/ttnghia) - David Wendt (https://github.com/davidwendt) URL: #9896
Fixes #9783
Skip some parts of writing when the input table was zero rows.
Add is_empty to
hostdevice_2dvector
.Add Python test with empty columns.