Commits


Philipp Moritz authored and Antoine Pitrou committed aa43784fde1
ARROW-4285: [Python] Use proper builder interface for serialization The UnionBuilder API is still pretty rough, feedback on how it should look is appreciated. It also raises the question on what the best way to do type inference (i.e. which type will the UnionArray have?). Having this in the builder would be super useful though also for other applications where the schema is not known in advance. Author: Philipp Moritz <pcmoritz@gmail.com> Closes #3423 from pcmoritz/union-builder and squashes the following commits: 0c6cedab <Philipp Moritz> add comment 9d5fcc21 <Philipp Moritz> lint 39982cd8 <Philipp Moritz> remove infer_type 745ed588 <Philipp Moritz> more comments d5e23003 <Philipp Moritz> comments 9697e692 <Philipp Moritz> dynamic_cast -> checked_cast 0ae5b66c <Philipp Moritz> fixes a82720cc <Philipp Moritz> add documentation 91d08e3d <Philipp Moritz> remove macro ff7e052a <Philipp Moritz> use VisitIterable 2b7e4b9a <Philipp Moritz> more cleanups 1db3c218 <Philipp Moritz> cleanups 7b41b058 <Philipp Moritz> starting to refactor UnionBuilder 74888345 <Philipp Moritz> use enum for types, type constructors 80c98383 <Philipp Moritz> clean up history for union builder branch