Skip to content

ARROW-11259: [Python][Dataset] Allow creating nested field ref - #9799

Closed
pitrou wants to merge 1 commit into
apache:masterfrom
pitrou:ARROW-11259-py-nested-field-ref
Closed

ARROW-11259: [Python][Dataset] Allow creating nested field ref#9799
pitrou wants to merge 1 commit into
apache:masterfrom
pitrou:ARROW-11259-py-nested-field-ref

Conversation

@pitrou

Copy link
Copy Markdown
Member

We can't yet filter on a nested field ref, so this merely adds syntactical support.

We can't yet filter on a nested field ref, so this merely adds syntactical support.

@bkietzbkietz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This patch seems well put together of itself, but does it add value to support construction of nested field references if we can't filter on them yet? It seems first we should refactor the parts of scan which depend on non nested field refs (ScanOptions::MaterializedFields, SetProjection) before exposing anything in python

@pitrou

Copy link
Copy Markdown
MemberAuthor

but does it add value to support construction of nested field references if we can't filter on them yet

Probably not, but it also should be relatively orthogonal to future refactors?

@github-actions

Copy link
Copy Markdown

@jorisvandenbossche

Copy link
Copy Markdown
Member

We do plan to support nested field references in filters? If so I am fine with already merging this, but no strong opinion.

@pitrou

Copy link
Copy Markdown
MemberAuthor

Should I close this PR? @bkietz

@bkietzbkietz closed this Jun 28, 2021
@pitrou
pitrou deleted the ARROW-11259-py-nested-field-ref branch August 26, 2021 12:03
@jorisvandenbossche

Copy link
Copy Markdown
Member

Now there is actual support for nested field refs (#11466), this PR can be revived?

@pitrou

Copy link
Copy Markdown
MemberAuthor

@jorisvandenbossche Do you want to take it up?

@jorisvandenbossche

Copy link
Copy Markdown
Member

Yes, will do

pitrou added a commit that referenced this pull request Apr 18, 2022
This PR tries to redo the work from #9799.
It will unblock:
- https://issues.apache.org/jira/browse/ARROW-13798
- https://issues.apache.org/jira/browse/ARROW-14596
cc @jorisvandenbossche@pitrouCloses#12863 from AlenkaF/ARROW-11259
Lead-authored-by: Alenka Frim <frim.alenka@gmail.com>
Co-authored-by: Antoine Pitrou <antoine@python.org>
Signed-off-by: Antoine Pitrou <antoine@python.org>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@pitrou@jorisvandenbossche@bkietz