-
Notifications
You must be signed in to change notification settings - Fork 915
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support "unflatten" of columns flattened via `flatten_nested_columns(…
…)`: (#8956) `cudf::flatten_nested_columns()` flattens out `STRUCT` columns into their constituent member columns, and includes the `STRUCT`'s validity information as a `BOOL8` column. E.g. `STRUCT_1< STRUCT_2< A, B >, C >` is flattened to: 1. Null Vector for `STRUCT_1` 2. Null Vector for `STRUCT_2` 3. Member `STRUCT_2::A` 4. Member `STRUCT_2::B` 5. Member `STRUCT_1::C` This commit adds an `unflatten_nested_columns()` method to convert back from a flattened representation to the nested columns. Authors: - MithunR (https://github.com/mythrocks) Approvers: - Devavret Makkar (https://github.com/devavret) - Nghia Truong (https://github.com/ttnghia) URL: #8956
- Loading branch information
Showing
4 changed files
with
374 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.