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

Removed Arc wrapping for AggregateFunctionExpr #12353

Merged
merged 1 commit into from
Sep 8, 2024

Conversation

athultr1997
Copy link
Contributor

Which issue does this PR close?

Closes #12257.

Rationale for this change

The trait AggregateFunctionExpr was removed previously in #12096 . This is a follow-up PR that removes the usage of Arc wrapping forAggregateFunctionExpr.

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

@github-actions github-actions bot added physical-expr Physical Expressions core Core DataFusion crate proto Related to proto crate labels Sep 6, 2024
@athultr1997 athultr1997 marked this pull request as draft September 6, 2024 07:30
@athultr1997 athultr1997 force-pushed the athultr/remove_arc_agg_func_expr branch from 461e842 to 62aa914 Compare September 6, 2024 07:41
@github-actions github-actions bot added the optimizer Optimizer rules label Sep 6, 2024
@athultr1997 athultr1997 force-pushed the athultr/remove_arc_agg_func_expr branch from 62aa914 to 901e87e Compare September 6, 2024 07:42
@athultr1997 athultr1997 marked this pull request as ready for review September 6, 2024 07:43
@alamb alamb requested a review from lewiszlw September 6, 2024 14:12
@alamb
Copy link
Contributor

alamb commented Sep 6, 2024

Thanks @athultr1997 -- this looks really neat

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 @athultr1997

cc @lewiszlw

I am also going to mark this PR as an API change as I think several of the functions are pub

@alamb alamb added the api change Changes the API exposed to users of the crate label Sep 7, 2024
Copy link
Contributor

@jayzhan211 jayzhan211 left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Member

@lewiszlw lewiszlw left a comment

Choose a reason for hiding this comment

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

LGTM. Thank you @athultr1997.

@alamb
Copy link
Contributor

alamb commented Sep 8, 2024

🚀

@alamb alamb merged commit f5c47fa into apache:main Sep 8, 2024
24 checks passed
@alamb
Copy link
Contributor

alamb commented Sep 8, 2024

Thanks again @athultr1997 and @jayzhan211 and @lewiszlw for the reviews

@athultr1997 athultr1997 deleted the athultr/remove_arc_agg_func_expr branch September 11, 2024 07:28
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 optimizer Optimizer rules physical-expr Physical Expressions proto Related to proto crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Don't wrap Arc for AggregateFunctionExpr
4 participants