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

refactor: unify generic expr rewrite functions into the datafusion_expr::expr_rewriter #6644

Merged
merged 1 commit into from
Jun 13, 2023

Conversation

r4ntix
Copy link
Contributor

@r4ntix r4ntix commented Jun 12, 2023

Which issue does this PR close?

Closes #6643

Rationale for this change

See #6643

What changes are included in this PR?

move unalias, rewrite_preserving_name rewrite functions into the datafusion_expr::expr_rewriter mod.

Are these changes tested?

Are there any user-facing changes?

@github-actions github-actions bot added core Core DataFusion crate logical-expr Logical plan and expressions optimizer Optimizer rules labels Jun 12, 2023
@alamb alamb added the api change Changes the API exposed to users of the crate label Jun 13, 2023
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.

Thank you @r4ntix -- this looks like a nice improvement to me. I marked it as an API change too as I think some of the functions used are marked pub so downstream code will have to update their use statements if they use these functions

@alamb alamb merged commit ee80d06 into apache:main Jun 13, 2023
@r4ntix r4ntix deleted the issue-6643 branch July 5, 2023 03:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api change Changes the API exposed to users of the crate core Core DataFusion crate logical-expr Logical plan and expressions optimizer Optimizer rules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unify generic expr rewrite functions into the datafusion_expr::expr_rewriter
2 participants