Skip to content

Make AggregateFunction take a single argument#445

Closed
Dandandan wants to merge 3 commits intoapache:masterfrom
Dandandan:single_arg_aggregate
Closed

Make AggregateFunction take a single argument#445
Dandandan wants to merge 3 commits intoapache:masterfrom
Dandandan:single_arg_aggregate

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
H0TB0X420 pushed a commit to H0TB0X420/datafusion that referenced this pull request Oct 7, 2025
dispanser added a commit to coralogix/arrow-datafusion that referenced this pull request Mar 13, 2026
object_store 0.12.3-0.12.5 contain critical fixes for S3 reliability:
- Fix not retrying connection errors (0.12.4, apache#445)
- Don't unwrap on body send in SpawnService (0.12.4, apache#442)
- Retry on HTTP 429 and 408 (0.12.3, apache#426)
- Add Content-Length to S3 create_multipart (0.12.4, apache#496)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
dispanser added a commit to coralogix/arrow-datafusion that referenced this pull request Mar 13, 2026
* Bump object_store upper bound from 0.12.2 to 0.12.5

object_store 0.12.3-0.12.5 contain critical fixes for S3 reliability:
- Fix not retrying connection errors (0.12.4, apache#445)
- Don't unwrap on body send in SpawnService (0.12.4, apache#442)
- Retry on HTTP 429 and 408 (0.12.3, apache#426)
- Add Content-Length to S3 create_multipart (0.12.4, apache#496)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Update Cargo.lock for object_store 0.12.5

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make AggregateFunction take a single argument

1 participant