-
Notifications
You must be signed in to change notification settings - Fork 952
Handle empty dictionary in to_arrow_device interop #18121
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
Handle empty dictionary in to_arrow_device interop #18121
Conversation
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
/ok to test |
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'm 👍 on this, barring a question regarding the lifetime of a column-view, after a column is released.
Do we also need to fix https://github.com/rapidsai/cudf/blob/branch-25.04/cpp/src/interop/to_arrow_host.cu#L245? |
column)); | ||
|
||
auto const dcv = cudf::dictionary_column_view(column); | ||
auto const dict_indices = dcv.is_empty() ? cudf::make_empty_column(cudf::type_id::INT32)->view() |
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 suppose, empty column view pointers are all nullptr
.
/merge |
5566e8d
into
rapidsai:branch-25.04
Description
Attempt at fixing issue described here #18071 (comment)
Closes #18071
Checklist