Skip to content

Support structs for cudf::contains with column/scalar input - #9929

Merged
rapids-bot[bot] merged 15 commits into
NVIDIA:branch-22.02from
ttnghia:contains_for_structs
Jan 15, 2022
Merged

rapids-bot[bot] merged 15 commits into
NVIDIA:branch-22.02from
ttnghia:contains_for_structs

Conversation

@ttnghia

@ttnghia ttnghia commented Dec 17, 2021 •

Copy link
Copy Markdown
Contributor

This PR adds support for cudf::contains so we can check whether a structs column contains a scalar struct element.

Partially addresses #8965. This does not support checking if structs given in a structs column exist in another structs column. Such cases will be supported when the new data structure mentioned in #9413 is merged into cudf.

@ttnghia ttnghia added feature request New feature or request 2 - In Progress Currently a work in progress libcudf Affects libcudf (C++/CUDA) code. Spark Functionality that helps Spark RAPIDS non-breaking Non-breaking change labels Dec 17, 2021
@ttnghia ttnghia self-assigned this Dec 17, 2021
@ttnghia ttnghia added the 0 - Blocked Cannot progress due to external reasons label Dec 17, 2021
@ttnghia
ttnghia marked this pull request as ready for review January 7, 2022 23:15
@ttnghia
ttnghia requested a review from a team as a code owner January 7, 2022 23:15
@ttnghia ttnghia added 3 - Ready for Review Ready for review by team and removed 2 - In Progress Currently a work in progress 0 - Blocked Cannot progress due to external reasons labels Jan 7, 2022
@codecov

This comment has been minimized.

@hyperbolic2346

Copy link
Copy Markdown
Contributor

Copyrights

@ttnghia ttnghia changed the title Support structs for cudf::contains Support structs for cudf::contains with column/scalar input Jan 11, 2022
Comment thread cpp/src/search/search.cu Resolved
Comment thread cpp/src/search/search.cu Resolved
Comment thread cpp/src/search/search.cu Resolved

@mythrocks mythrocks left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, apart from a minor nitpick.

@ttnghia

ttnghia commented Jan 15, 2022

Copy link
Copy Markdown
Contributor Author

@gpucibot merge

@rapids-bot
rapids-bot Bot merged commit 7ff5f12 into NVIDIA:branch-22.02 Jan 15, 2022
@ttnghia
ttnghia deleted the contains_for_structs branch January 22, 2022 01:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3 - Ready for Review Ready for review by team feature request New feature or request libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change Spark Functionality that helps Spark RAPIDS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants