[
https://issues.apache.org/jira/browse/ARROW-5337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16913991#comment-16913991
]
Joris Van den Bossche commented on ARROW-5337:
----------------------------------------------
Since there is also a {{arrow::Field}} which is the combination of name, type
and optional metadata (and not the actual array), I think using {{column()}} is
better. If there would be a {{RecordBatch::field()}}, it should probably return
a {{Field}} and not an array.
On the python side also this terminology is used: {{Table.column()}} returns
the (chunked) array, {{Table.field()}} a field (as a shortcut for
{{Table.schema.field()}}.
So I would personally close this issue.
> [C++] Add RecordBatch::field method, possibly deprecate "column"
> ----------------------------------------------------------------
>
> Key: ARROW-5337
> URL: https://issues.apache.org/jira/browse/ARROW-5337
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++
> Reporter: Wes McKinney
> Priority: Major
> Fix For: 0.15.0
>
>
> As a matter of consistency, it might be better to rename
> {{RecordBatch::column}} to {{RecordBatch::field}}
--
This message was sent by Atlassian Jira
(v8.3.2#803003)