-
Notifications
You must be signed in to change notification settings - Fork 915
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
[FEA] Add API for generating per-list sequences #9424
Comments
cudf/cpp/include/cudf/filling.hpp Lines 151 to 178 in 1424a2d
|
I don't think this was very clean in the request. The desire it to support the Spark sequence function https://spark.apache.org/docs/latest/api/sql/index.html#sequence The desire would be to have an API like
The returned value would be a list column. If you want to keep the parameters the same with A few details
I hope that this clarifies things enough for you @jrhemstad |
Perhaps #8886 is relevant for the timestamp sequence? |
Got it, I missed that the intent was the output would be a list column. @revans2 your description was very helpful. For consistency with our other sequence APIs, I think we'd want to do a Furthermore, I'm inclined to make the input a
I think we'd enforce that |
That sounds good to me. Months really messes things up so I am okay with skipping it for now. |
This PR adds `lists::sequences` API, allowing to generate per-list sequence. In particular, it allows generating a lists column in which each list is a sequence of numbers/durations. These sequences are generated individually from separate sets of (start, step, size) input values. Closes #9424. Note: `lists::sequences` supports only numeric types (integer types + floating-point types) and duration types. Authors: - Nghia Truong (https://github.com/ttnghia) Approvers: - Jake Hemstad (https://github.com/jrhemstad) - https://github.com/nvdbaranec - Karthikeyan (https://github.com/karthikeyann) URL: #9839
This PR add java binding for sequences API. and to fix #9424. Authors: - Bobby Wang (https://github.com/wbo4958) Approvers: - Jason Lowe (https://github.com/jlowe) - Robert (Bobby) Evans (https://github.com/revans2) URL: #9972
Is your feature request related to a problem? Please describe.
Could we support sequence on columns?
input
output
The text was updated successfully, but these errors were encountered: