8000 perf(post-1.0): hash-join with-grouped aggregation cross-product · Issue #204 · project-minigraf/minigraf · GitHub
[go: up one dir, main page]

Skip to content

perf(post-1.0): hash-join with-grouped aggregation cross-product #204

Closed

Description

@adityamukho

Roadmap source

ROADMAP.md: Post-1.0 Performance Backlog.

Problem

with_grouped_sum triggers a two-pattern cross-product join without a hash-join step, producing O(N^2) behavior. Roadmap benchmark observation: with_grouped_sum/10k around 67s.

Proposed fix

Add a hash-join planning step in the aggregation post-processor for multi-pattern :with clauses.

Acceptance criteria

  • Reduce the benchmarked :with grouped aggregation shape from O(N^2) toward O(N).
  • Add or update benchmark coverage for grouped aggregation.
  • Preserve current aggregation grouping semantics.

Metadata

Metadata

Assignees

No one assigned

    Labels

    performanceBenchmark performance regressionsrustPull requests that update rust code

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0