You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Neal Richardson (Jira)" <ji...@apache.org> on 2021/09/02 01:51:00 UTC

[jira] [Commented] (ARROW-11259) [Python] Allow to create field reference to nested field

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

Neal Richardson commented on ARROW-11259:
-----------------------------------------

Agree that it would be helpful (possibly necessary) to be able to extract a field from an Expression more generally. 

> [Python] Allow to create field reference to nested field
> --------------------------------------------------------
>
>                 Key: ARROW-11259
>                 URL: https://issues.apache.org/jira/browse/ARROW-11259
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Python
>            Reporter: Joris Van den Bossche
>            Priority: Major
>              Labels: dataset, pull-request-available
>             Fix For: 6.0.0
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Currently in the Python layer we have {{ds.field(name)}} for referencing a field eg when creating a filter expression.
> On the C++ side, the {{FieldRef}} has the ability to reference nested fields (eg a child of a struct), for example constructed with {{FieldRef::FromDotPath}}.
> We should think about how to enable users to reference nested fields like this in the Python API.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)