-
Notifications
You must be signed in to change notification settings - Fork 906
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
BUG FIX: Raise appropriate strings error when concatenating strings column #8290
Conversation
try: | ||
col = libcudf.concat.concat_columns(objs) | ||
except RuntimeError as e: | ||
if "concatenated rows exceeds size_type range" in str(e): |
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 error from libcudf is not specific to strings columns. The number of rows in any column cannot exceed size_type
. This means concatenating 2 integer columns each with rows lengths greater than size_type/2
would throw this error from libcudf.
The specific message for strings below only occurs for strings columns.
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 generalized the error to "total size of output is too large for a cudf column"
, is that sufficient?
@skirui-source / @davidwendt / @quasiben - is this needed for 21.06 or should it be pushed back? |
Codecov Report
@@ Coverage Diff @@
## branch-21.08 #8290 +/- ##
===============================================
Coverage ? 82.83%
===============================================
Files ? 109
Lines ? 17901
Branches ? 0
===============================================
Hits ? 14828
Misses ? 3073
Partials ? 0 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.
LGTM!
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 |
Fixes: #8228