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

Add strings support to cudf::shift function #8648

Merged
merged 6 commits into from
Jul 9, 2021

Conversation

davidwendt
Copy link
Contributor

Closes #3915

Added strings specialization logic to the current cudf::shift API. Rows are shifted by running a transform functions on the offsets and chars child columns to create the output strings column. The gtests are added to the copying/shift_tests.cpp

@davidwendt davidwendt added feature request New feature or request 3 - Ready for Review Ready for review by team libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change labels Jul 2, 2021
@davidwendt davidwendt self-assigned this Jul 2, 2021
@davidwendt davidwendt requested review from a team as code owners July 2, 2021 18:15
@github-actions github-actions bot added the CMake CMake build issue label Jul 2, 2021
Copy link
Contributor

@cwharris cwharris left a comment

Choose a reason for hiding this comment

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

lgtm

@codecov
Copy link

codecov bot commented Jul 2, 2021

Codecov Report

❗ No coverage uploaded for pull request base (branch-21.08@73df850). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@               Coverage Diff               @@
##             branch-21.08    #8648   +/-   ##
===============================================
  Coverage                ?   10.63%           
===============================================
  Files                   ?      109           
  Lines                   ?    18659           
  Branches                ?        0           
===============================================
  Hits                    ?     1985           
  Misses                  ?    16674           
  Partials                ?        0           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 73df850...55abb94. Read the comment docs.

cpp/src/strings/copying/shift.cu Outdated Show resolved Hide resolved
cpp/src/strings/copying/shift.cu Outdated Show resolved Hide resolved
Copy link
Member

@harrism harrism left a comment

Choose a reason for hiding this comment

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

Cmake approval.

@ttnghia
Copy link
Contributor

ttnghia commented Jul 8, 2021

Rerun tests.

@davidwendt
Copy link
Contributor Author

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 1b34652 into rapidsai:branch-21.08 Jul 9, 2021
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 CMake CMake build issue feature request New feature or request libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEA] Support strings in cudf::shift
5 participants