Skip to content

Conversation

@davidwendt
Copy link
Contributor

Description

Deprecates the cudf::strings::like API that accepts the pattern and escape character as string_scalar types and replaces it with one which accepts std::string_view instead.

cudf::strings::like(
  cudf::strings_column_view const& input,
  cudf::string_scalar const& pattern,  ==>  std::string_view
  cudf::string_scalar const& escape_character, ==> std::string_view
  rmm::cuda_stream_view stream,
  rmm::device_async_resource_ref mr)

This is to enable future performance optimizations where the pattern is preprocessed on the host and not needed in device memory.

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 self-assigned this Oct 30, 2025
@davidwendt davidwendt added 2 - In Progress Currently a work in progress libcudf Affects libcudf (C++/CUDA) code. improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Oct 30, 2025
@copy-pr-bot
Copy link

copy-pr-bot bot commented Oct 30, 2025

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.

@github-actions github-actions bot added Python Affects Python cuDF API. pylibcudf Issues specific to the pylibcudf package labels Oct 30, 2025
@GPUtester GPUtester moved this to In Progress in cuDF Python Oct 30, 2025
@davidwendt
Copy link
Contributor Author

/ok to test

@davidwendt
Copy link
Contributor Author

/ok to test

@davidwendt
Copy link
Contributor Author

/ok to test

@davidwendt davidwendt marked this pull request as ready for review October 31, 2025 19:14
@davidwendt davidwendt requested review from a team as code owners October 31, 2025 19:14
Copy link
Contributor

@mroeschke mroeschke left a comment

Choose a reason for hiding this comment

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

Python changes LGTM

@davidwendt davidwendt added 3 - Ready for Review Ready for review by team and removed 2 - In Progress Currently a work in progress labels Oct 31, 2025
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 improvement Improvement / enhancement to an existing function libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change pylibcudf Issues specific to the pylibcudf package Python Affects Python cuDF API.

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

3 participants