-
Notifications
You must be signed in to change notification settings - Fork 66
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
Followup for null count fixup in row_conversion.cu. #1155
Followup for null count fixup in row_conversion.cu. #1155
Conversation
Build |
This is a followup to NVIDIA#1148. `row_conversion.cu` was modified in rapidsai/cudf#13372 to explicitly calculate null-counts for output columns. This commit replicates the changes in cudf/pull/13372, and adds explicit null-count calculation for the string offsets column. Signed-off-by: MithunR <[email protected]>
5d3351b
to
ac31cce
Compare
Build |
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.
This code is dense, but I believe this to be correct. The computed columns have null masks if incoming data has null masks, but there is no null count, so doing this work seems appropriate.
Thanks for reviewing, @hyperbolic2346. I'm ready to merge this. Edit: @ttnghia, the only pending issue is |
Fixes NVIDIA#1169. This commit fixes the null counts in row/column conversion, for all output columns. The prior fix in NVIDIA#1155 only fixed the count for STRING outputs. There are 2 additional/tangential fixes in this change: 1. `cudf::detail::null_count()` is used in place of `cudf::null_count()`, thus running on the current stream. 2. The Java `RowConversion.convertFromRowsFixedWidthOptimized()` now uses the `convertFromRowsFixedWidthOptimized()` native function instead of `convertFromRows()`. This should prove faster.
Fixes NVIDIA#1169. This commit fixes the null counts in row/column conversion, for all output columns. The prior fix in NVIDIA#1155 only fixed the count for STRING outputs. There are 2 additional/tangential fixes in this change: 1. `cudf::detail::null_count()` is used in place of `cudf::null_count()`, thus running on the current stream. 2. The Java `RowConversion.convertFromRowsFixedWidthOptimized()` now uses the `convertFromRowsFixedWidthOptimized()` native function instead of `convertFromRows()`. This should prove faster. Signed-off-by: MithunR <[email protected]>
This is a followup to #1148.
row_conversion.cu
was modified in rapidsai/cudf#13372 to explicitly calculate null-counts for output columns.This commit replicates the changes in rapidsai/cudf/pull/13372, and adds explicit null-count calculation for the string offsets column.