[ 
https://issues.apache.org/jira/browse/ARROW-41?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15213288#comment-15213288
 ] 

Wes McKinney commented on ARROW-41:
-----------------------------------

Struct is awaiting an implementation in 
https://github.com/apache/arrow/blob/master/cpp/src/arrow/types/struct.h. See, 
for example, the implementation of {{ListArray}} (for repeated fields) in 
https://github.com/apache/arrow/blob/master/cpp/src/arrow/types/list.h

Related JIRAs: ARROW-40, ARROW-60

> C++: Convert table to std::vector of Struct arrays
> --------------------------------------------------
>
>                 Key: ARROW-41
>                 URL: https://issues.apache.org/jira/browse/ARROW-41
>             Project: Apache Arrow
>          Issue Type: New Feature
>          Components: C++
>            Reporter: Wes McKinney
>
> 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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to