Skip to content

Make AggregateFunction take a single argument #445

New issue

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

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

Already on GitHub? # to your account

Closed
wants to merge 3 commits into from

Conversation

Dandandan
Copy link
Contributor

@Dandandan Dandandan commented May 30, 2021

Which issue does this PR close?

Closes #444

Rationale for this change

This makes the representation of aggregate functions more correct, makes code dealing with aggregate functions more simple (by not having to assume that the arguments are of length 1 but encode it in the enum).
This came up while working on #441

What changes are included in this PR?

Change type from Vec<Expr> to Box<Expr>

Are there any user-facing changes?

Yes, this is a breaking change to the Expr enum.

@Dandandan Dandandan added the api change Changes the API exposed to users of the crate label May 30, 2021
@Dandandan Dandandan closed this May 30, 2021
unkloud pushed a commit to unkloud/datafusion that referenced this pull request Mar 23, 2025
…led (apache#445)

* improve fallback message when comet native shuffle is not enabled

* update test
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
api change Changes the API exposed to users of the crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make AggregateFunction take a single argument
1 participant