Skip to content

array_agg is very slow #20465

Closed
Closed

Description

@neilconway

Describe the bug

Running a simple benchmark (5000 groups, 5000 int64 values per group), array_agg in DataFusion is roughly 30x slower than DuckDB and 60x slower than ClickHouse.

To Reproduce

No response

Expected behavior

No response

Additional context

No response

Activity

  1. added theissue type on Feb 21, 2026
  2. neilconway commented on Feb 21, 2026

    @neilconway
    ContributorAuthor

    take

  3. alamb commented on Feb 24, 2026

    @alamb
    Contributor
  4. alamb commented on Feb 24, 2026

    @alamb
    Contributor
  5. neilconway commented on Feb 24, 2026

    @neilconway
    ContributorAuthor

    @alamb Thanks, Andrew! I missed that this issue was previously reported and worked on. At least my approach isn't radically different than the prior consensus 😅

  6. alamb commented on Feb 27, 2026

    @alamb
    Contributor

    Even better is that since this keeps coming up it is a signal of how important it is

  7. added a commit that references this issue on Feb 28, 2026
    3a23bb2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions