Skip to content

Show when partial aggregation flushes because of memory pressure #24995

Description

@yashrb24

DataFusion may run low on memory while processing a partial GROUP BY. When this happens, it sends out the groups collected so far and continues processing.

Today, EXPLAIN ANALYZE does not show when this happens. This makes it difficult to understand why a partial aggregate produced more rows than expected.

Something like an early_emit_count metric that shows how many times the aggregate had to flush because of memory pressure would be helpful

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions