Skip to content

Add topk detection in build_spatiotemporal_context #498

Description

@milindsrivastava1997

Part of #497.

build_spatiotemporal_context (asap-query-engine/src/engines/simple_engine/sql.rs) needs to detect topk/bottomk-shaped queries so they can be folded into the SpatioTemporal query type instead of relying on nested-aggregation handling.

Blocks the removal of Spatial/TemporalGeneric/TemporalQuantile/OneTemporalOneSpatial detection (separate child issue) — that removal needs this in place first.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions