Skip to content

eval: RQE expression trees for random-manifest tables #227

Closed

Description

@milindsrivastava1997

Part of ProjectASAP/ASAPQuery#886 (decisions there). Replaces sketch-bench#223 / ASAPQuery#881, which are covered by #226 and ProjectASAP/ASAPQuery#879.

What

export_autosketch_eval_table.py --random-manifest (#226) writes expr (the RQE tree, format in ProjectASAP/ASAPQuery#880, plus topk_by) on each e2e query, the same way #225 does for the classic tables:

  • per-series avg by (G) (quantile_over_time(phi, data[W])) → {"agg": "avg", "by": G, "of": <per-series quantile leaf>}
  • topk by (G) (k, sum_over_time(...)) → top-k leaf with grouping = the series labels, topk_by = G
  • sum by (G) (sum_over_time(...)) → sum leaf grouped by G
  • SQL cardinality → leaf on the events table with value
  • capabilities outside sum/quantile/cardinality/topk_by_value (counter-gated top-k) → no expr

Done when

  • tests per query shape; the workload-01 pilot table with expr converts with ASAPQuery's --planner saved (stack #887→#888 + topk_by)
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