-
Notifications
You must be signed in to change notification settings - Fork 976
Make Column.set_mask go through pylibcudf #20103
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
base: branch-25.12
Are you sure you want to change the base?
Make Column.set_mask go through pylibcudf #20103
Conversation
else: | ||
new_mask = None | ||
new_null_count = 0 | ||
exposed = isinstance(self.data, ExposureTrackedBuffer) |
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 afraid I don't remember the exact semantics of the buffer classes right now to be sure, but is this condition not too broad? Can't you have an ExposureTrackedBuffer that is not currently exposed? I don't think the current code will result in incorrect results in any case, it might just be less efficient than ideal by forcing copies.
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.
Actually turns out I didn't need this condition, so it's been removed
Description
Broken off from #20087
Checklist