-
Notifications
You must be signed in to change notification settings - Fork 902
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 JNI for strings::repeat_strings
[skip ci]
#8491
Add JNI for strings::repeat_strings
[skip ci]
#8491
Conversation
strings::repeat_strings
strings::repeat_strings
[skip ci]
2577d3d
to
23d1fe1
Compare
* | ||
* Note that this function cannot handle the cases when the size of the output column exceeds | ||
* the maximum value that can be indexed by int type. In such situations, the output result | ||
* is undefined. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
interesting, could not we just repeat as many times as fit ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bound check should be done on the plugin side to make sure the output is correct. I tried to implement bounds check in cudf C++ but was rejected.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@gpucibot merge |
…eparately by different numbers of times (#8572) This is a follow up work on #8491 so that cudf's `strings::repeat_strings` fully supports StringRepeat SQL expression in Apache Spark. This PR also rewrites some existing code, including re-formatting code and changes in doxygen. Authors: - Nghia Truong (https://github.com/ttnghia) Approvers: - Jason Lowe (https://github.com/jlowe) URL: #8572
This PR adds JNI for
strings::repeat_strings
.