Neal Richardson created ARROW-11424:
---------------------------------------

             Summary: [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
             Fix For: 4.0.0


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.3.4#803005)

Reply via email to