Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace GetFieldAccess with indexing function in SqlToRel #10375

Merged
merged 12 commits into from
May 14, 2024

Conversation

jayzhan211
Copy link
Contributor

Which issue does this PR close?

Part of #10374

Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

Signed-off-by: jayzhan211 <[email protected]>
Signed-off-by: jayzhan211 <[email protected]>
Signed-off-by: jayzhan211 <[email protected]>
Signed-off-by: jayzhan211 <[email protected]>
Signed-off-by: jayzhan211 <[email protected]>
Signed-off-by: jayzhan211 <[email protected]>
@github-actions github-actions bot added sql SQL Planner sqllogictest SQL Logic Tests (.slt) labels May 4, 2024
----
host1 101
host2 202
host3 303

# TODO: Issue tracked in https://github.com/apache/datafusion/issues/10364
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the issue from #10364, not a regression caused by this change.

@jayzhan211 jayzhan211 changed the title Call function for indexing in parser Replace GetFieldAccess with indexing function in parser May 4, 2024
@jayzhan211 jayzhan211 changed the title Replace GetFieldAccess with indexing function in parser Replace GetFieldAccess with indexing function in SqlToRel May 4, 2024
@github-actions github-actions bot added the core Core DataFusion crate label May 10, 2024
Signed-off-by: jayzhan211 <[email protected]>
@jayzhan211 jayzhan211 marked this pull request as ready for review May 10, 2024 13:47
@alamb
Copy link
Contributor

alamb commented May 13, 2024

cc @westonpace

Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Looks good to me -- thank you @jayzhan211 -- I am going to also tag this PR as api change so it gets highlighted in the readme

@jayzhan211 jayzhan211 merged commit b8fab5c into apache:main May 14, 2024
23 checks passed
@jayzhan211
Copy link
Contributor Author

Thanks @alamb !

findepi pushed a commit to findepi/datafusion that referenced this pull request Jul 16, 2024
…e#10375)

* use func in parser

Signed-off-by: jayzhan211 <[email protected]>

* add tests

Signed-off-by: jayzhan211 <[email protected]>

* add test

Signed-off-by: jayzhan211 <[email protected]>

* rm test1

Signed-off-by: jayzhan211 <[email protected]>

* parser done

Signed-off-by: jayzhan211 <[email protected]>

* fmt

Signed-off-by: jayzhan211 <[email protected]>

* fix exprapi test

Signed-off-by: jayzhan211 <[email protected]>

* fix test

Signed-off-by: jayzhan211 <[email protected]>

* fix conflicts

Signed-off-by: jayzhan211 <[email protected]>

---------

Signed-off-by: jayzhan211 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Core DataFusion crate sql SQL Planner sqllogictest SQL Logic Tests (.slt)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants