[
https://issues.apache.org/jira/browse/ARROW-17141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17569028#comment-17569028
]
Rok Mihevc commented on ARROW-17141:
------------------------------------
Oh, that's neater than I remember.
Would it make sense to add a field path utility here to enable alternative way
of selecting? E.g.: field_path_to_indices("parent_field.child_field") ->
\{parent_field_idx, child_field_idx}. It would be purely for syntactic sugar.
> [C++] Enable selecting nested fields in StructArray with field path
> -------------------------------------------------------------------
>
> Key: ARROW-17141
> URL: https://issues.apache.org/jira/browse/ARROW-17141
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++
> Reporter: Rok Mihevc
> Priority: Major
> Labels: kernel
>
> Currently selecting a nested field in a StructArray requires multiple selects
> or flattening of schema. It would be more user friendly to provide a field
> path e.g.: field_in_top_struct.field_in_substruct.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)