You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "David Li (Jira)" <ji...@apache.org> on 2021/12/14 13:17:00 UTC

[jira] [Resolved] (ARROW-11424) [C++] Add more StructType and StructArray methods

     [ https://issues.apache.org/jira/browse/ARROW-11424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Li resolved ARROW-11424.
------------------------------
    Resolution: Fixed

Issue resolved by pull request 11877
[https://github.com/apache/arrow/pull/11877]

> [C++] Add more StructType and StructArray methods
> -------------------------------------------------
>
>                 Key: ARROW-11424
>                 URL: https://issues.apache.org/jira/browse/ARROW-11424
>             Project: Apache Arrow
>          Issue Type: New Feature
>          Components: C++
>            Reporter: Neal Richardson
>            Assignee: Pradeep Garigipati
>            Priority: Major
>              Labels: good-first-issue, pull-request-available
>             Fix For: 7.0.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> A StructType is basically a Schema (vector of Fields), right? Likewise, a StructArray is pretty much the same as a RecordBatch, right? Schema and RecordBatch have many more methods than StructType/StructArray, but we should be able to do the same kinds of things to structs.
> Also, an observation while working on ARROW-11423: the method to extract an Array column from a StructArray is called {{field()} and {{GetFieldByName()}}, which is confusing since Schema/StructType is what contains Field objects, and {{StructArray::field()}} returns Array, not Field.
> cc [~bkietz] [~apitrou]



--
This message was sent by Atlassian Jira
(v8.20.1#820001)