Skip to content

Elastic Avg: engine queries Rate but planner precomputes Sum+Count #456

Description

@milindsrivastava1997

Bug: Mismatch between planner and engine for Elastic Avg aggregation.

Planner (planner/elastic_dsl.rs:157-162) precomputes [Sum, Count] sketches.
Engine (simple_engine/elastic.rs:122) queries Statistic::Rate at runtime.

Engine will miss precomputed data or hit the wrong accumulator for any Elastic Avg query.

Fix: Engine should query Sum and Count and divide, matching the planner.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions