-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARROW-5588: [C++] Better support for building union arrays
- Simplify DenseUnionBuilder - Add SparesUnionBuilder - MakeBuilder can now produce a {Sparse,Dense}UnionBuilder - ArrayFromJSON can now produce union arrays Author: Benjamin Kietzman <[email protected]> Closes #4781 from bkietz/5588-Better-support-for-building-UnionArrays and squashes the following commits: 38e2828 <Benjamin Kietzman> iwyu #include <limits> 0efe91d <Benjamin Kietzman> address review comments 17e6e27 <Benjamin Kietzman> construct offset_builder_ with a MemoryPool 4131fe3 <Benjamin Kietzman> separate child builder array indexable by type_id fd64c1b <Benjamin Kietzman> rewrite union builder to share a base class, let children_ be indexed by type_id 37de5f2 <Benjamin Kietzman> explicit uint8_t for msvc 673916e <Benjamin Kietzman> Disable ListOfDictionary test until ListBuilder is updated cf1c5be <Benjamin Kietzman> revert changes to reader.cc 5742db9 <Benjamin Kietzman> debugging: highlight the broken case and a similar one 5b1ec93 <Benjamin Kietzman> improve doccomments, dedupe test code 33fade1 <Benjamin Kietzman> Adding support for DenseUnions to ArrayFromJSON 6245c82 <Benjamin Kietzman> add SparseUnionBuilder and MakeBuilder case 8d4f36d <Benjamin Kietzman> add tests for building lists where the value builder has mutable type 351905d <Benjamin Kietzman> add test for lazily typed union builder 7902d12 <Benjamin Kietzman> first pass at updating DenseUnionBuilder d20055a <Benjamin Kietzman> minor refactors, adding some asserts
- Loading branch information
Showing
17 changed files
with
788 additions
and
120 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
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.