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

[FEA] Implement a function to convert a list of strings columns into a structs column with desired schema #2468

Open
ttnghia opened this issue Oct 4, 2024 · 0 comments · May be fixed by #2510
Assignees

Comments

@ttnghia
Copy link
Collaborator

ttnghia commented Oct 4, 2024

In GpuJsonToStruct, after reading the input JSON using cudf::read_json, we need to convert the output table (consisting of many strings columns) into the final structs column with the desired schema. Currently, that step is done in Scala code, which can have a lot of overhead of unnecessarily copying the intermediate columns into the final output column. We can do that better in native C++ code, performing the conversion if needed while just moving the intermediate columns into the output column without any copying.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant