[
https://issues.apache.org/jira/browse/ARROW-41?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wes McKinney updated ARROW-41:
------------------------------
Description: With {{arrow::TableBatchReader}}, we can turn a Table into a
sequence of one or more RecordBatches. It would be useful to be able to easily
convert between RecordBatch and a StructArray (which can be semantically
equivalent in some contexts) (was: This may require memory allocation
depending on the chunking of the table columns.
While tables and struct type columns are semantically equivalent (and tables
can be embedded in other tables using struct types), the memory layout of a
table may not be strictly contiguous. For the purposes of putting data on the
wire / in shared memory, it may be useful to offer a conversion function to
"structify" an in-memory logical Arrow table. See ARROW-24)
> C++: Convert RecordBatch to StructArray, and back
> -------------------------------------------------
>
> Key: ARROW-41
> URL: https://issues.apache.org/jira/browse/ARROW-41
> Project: Apache Arrow
> Issue Type: New Feature
> Components: C++
> Reporter: Wes McKinney
> Priority: Major
> Fix For: 0.9.0
>
>
> With {{arrow::TableBatchReader}}, we can turn a Table into a sequence of one
> or more RecordBatches. It would be useful to be able to easily convert
> between RecordBatch and a StructArray (which can be semantically equivalent
> in some contexts)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)