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

Rename strings multiple target replace API #15898

Merged
merged 3 commits into from
Jun 3, 2024

Conversation

davidwendt
Copy link
Contributor

Description

Renames the multi-target overload of cudf::strings::replace() to cudf::strings::replace_multiple().
This helps with some Cython issues involving fused types and overloaded functions with the same number of arguments.
Reference: #15855 (comment)

This change deprecates the old name to be removed in a future release.

Also added some additional error unit tests.

Closes #15855

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 2 - In Progress Currently a work in progress libcudf Affects libcudf (C++/CUDA) code. strings strings issues (C++ and Python) improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels May 31, 2024
@davidwendt davidwendt self-assigned this May 31, 2024
@github-actions github-actions bot added Python Affects Python cuDF API. Java Affects Java cuDF API. labels May 31, 2024
@davidwendt davidwendt added 3 - Ready for Review Ready for review by team and removed 2 - In Progress Currently a work in progress labels May 31, 2024
@davidwendt davidwendt marked this pull request as ready for review May 31, 2024 16:55
@davidwendt davidwendt requested review from a team as code owners May 31, 2024 16:55
@davidwendt davidwendt added breaking Breaking change and removed non-breaking Non-breaking change labels May 31, 2024
@vyasr
Copy link
Contributor

vyasr commented Jun 3, 2024

/merge

@rapids-bot rapids-bot bot merged commit 4a17c45 into rapidsai:branch-24.08 Jun 3, 2024
70 checks passed
@davidwendt davidwendt deleted the rename-multi-replace branch June 3, 2024 19:44
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 breaking Breaking change improvement Improvement / enhancement to an existing function Java Affects Java cuDF API. libcudf Affects libcudf (C++/CUDA) code. Python Affects Python cuDF API. strings strings issues (C++ and Python)
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

For the overload of replace in libcudf where input/target/repl are columns, there isn't a maxrepl arg.
4 participants