Skip to content
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

Check row limit size in cudf::strings::join_strings #15643

Merged
merged 1 commit into from
May 7, 2024

Conversation

davidwendt
Copy link
Contributor

Description

Fixes condition where cudf::strings::join_strings could produce column that exceeds the expected row width limit.
The join_strings API produces a single row column from the input column (plus optional separators).
Since a strings column total size can now exceed max(size_type) character bytes, it is now possible to produce invalid single-row column since individual rows still cannot exceed max(size_type).

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@davidwendt davidwendt added bug Something isn't working 3 - Ready for Review Ready for review by team libcudf Affects libcudf (C++/CUDA) code. strings strings issues (C++ and Python) non-breaking Non-breaking change labels May 3, 2024
@davidwendt davidwendt self-assigned this May 3, 2024
@davidwendt davidwendt requested a review from a team as a code owner May 3, 2024 18:11
Copy link
Member

@mhaseeb123 mhaseeb123 left a comment

Choose a reason for hiding this comment

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

Looks good!

@davidwendt
Copy link
Contributor Author

/merge

@rapids-bot rapids-bot bot merged commit c304954 into rapidsai:branch-24.06 May 7, 2024
71 checks passed
@davidwendt davidwendt deleted the join-row-size-limit branch May 7, 2024 14:19
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 bug Something isn't working libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change strings strings issues (C++ and Python)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants