Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.17.0
Description
Currently in Python, you can construct a UnionArray easily, but getting the data back out (without copying) is near-impossible. We should expose the getter for UnionArray.array so we can pull out the constituent arrays. We should also expose fields like mode while we're at it.
The use case is: in Flight, we'd like to write multiple distinct datasets (with distinct schemas) in a single logical call; using UnionArrays lets us combine these datasets into a single logical dataset.
Attachments
Issue Links
- duplicates
-
ARROW-5869 [Python] Need a way to access UnionArray's children as Arrays in pyarrow
- Closed
- links to
Issue resolved by pull request 7027
https://github.com/apache/arrow/pull/7027