-
Notifications
You must be signed in to change notification settings - Fork 240
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] Support nested types in CreateNamedStruct #2436
Comments
Hi @revans2, we have the support of |
CUDF does not support maps directly. We emulate a map as a list of key, value structs. So if we have a Scalar List that can hold structs we can support scalar maps. |
I have a patch that I will put up tomorrow. Want to do a bit more testing on it. |
Also struct literals are not supported just yet in cudf, but it should be very simple to add it in once that work is ready. |
Current PR is to support struct scalar in Java package, which is required by spark-rapids ([issue link](NVIDIA/spark-rapids#2436)). In detail, current PR introduces three new features: 1. create struct scalar through Java API 2. get children of struct scalar through Java API 3. create struct column from (struct) scalar through Java API Authors: - Alfred Xu (https://github.com/sperlingxx) Approvers: - Robert (Bobby) Evans (https://github.com/revans2) URL: #8327
We have basic support for CreateNamedStruct but we cannot put nested types into a struct because cudf does not support scalars of nested types. That is slowly changing and we should add in support for Structs, Arrays, and Maps to be children of names structs.
The text was updated successfully, but these errors were encountered: