You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Ben Kietzman (Jira)" <ji...@apache.org> on 2021/01/15 19:53: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=17266323#comment-17266323 ]
Ben Kietzman commented on ARROW-11259:
--------------------------------------
Related: currently field_refs can only extract a field from the scanned dataset. It'd be helpful if they could also extract a field from an Expression
> [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
> Fix For: 4.0.0
>
>
> 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)