[ https://issues.apache.org/jira/browse/ARROW-8572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Neal Richardson resolved ARROW-8572. ------------------------------------ Fix Version/s: 1.0.0 Resolution: Fixed Issue resolved by pull request 7027 [https://github.com/apache/arrow/pull/7027] > [Python] Expose UnionArray.array and other fields > ------------------------------------------------- > > Key: ARROW-8572 > URL: https://issues.apache.org/jira/browse/ARROW-8572 > Project: Apache Arrow > Issue Type: Improvement > Components: Python > Affects Versions: 0.17.0 > Reporter: David Li > Assignee: David Li > Priority: Major > Labels: pull-request-available > Fix For: 1.0.0 > > Time Spent: 40m > Remaining Estimate: 0h > > 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. -- This message was sent by Atlassian Jira (v8.3.4#803005)