opensearch-project / opensearch-project/sql
[FEATURE] Support pushdown for subaggregation in PPL
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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