opensearch-project / opensearch-project/sql

[FEATURE] Support pushdown for subaggregation in PPL

Open
#4,762 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement PPL
Dominant language
Java
Stars
176
Forks
229
Avg merge
2d 21h
Merged PRs (30d)
43

Description

Is your feature request related to a problem?
With https://github.com/opensearch-project/sql/pull/3550, we started single group-by aggregation pushdown, benefiting from upto 100x performance improvement for numeric aggregations. As part of https://github.com/opensearch-project/OpenSearch/pull/19573, we are working significantly speeding up the execution even in the case of sub aggregation.

What solution would you like?
Multiple group-by aggregation pushdown to benefit from the optimizations in OpenSearch core search execution engine

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading sql#3550 and OpenSearch#19573, then trace how single group-by aggregation pushdown currently works in this repository. Define the changes needed for multiple group-by aggregation pushdown in PPL and verify that subaggregations can use the OpenSearch core search execution optimizations.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, sql
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.