Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable filtered aggregation in PPL #215

Open
chloe-zh opened this issue Sep 27, 2021 · 0 comments
Open

Enable filtered aggregation in PPL #215

chloe-zh opened this issue Sep 27, 2021 · 0 comments
Labels
enhancement New feature or request PPL Piped processing language

Comments

@chloe-zh
Copy link
Contributor

Is your feature request related to a problem? Please describe.
The query engine has supported the filtered aggregation and SQL is enabled with this feature, but it is not enabled in PPL yet.

Describe the solution you'd like
Support filtered aggregations in PPL. For example:

POST _plugins/_ppl
{
  "query": "source=accounts | stats count() filter (where age <= 30) as age1, count() filter(where age > 30) as age2
}

Describe alternatives you've considered
Syntax TBD

Additional context
NA

@chloe-zh chloe-zh added enhancement New feature or request PPL Piped processing language labels Sep 27, 2021
Yury-Fridlyand pushed a commit that referenced this issue Feb 14, 2023
* Updated EXPM1() and tests to new engine

Signed-off-by: Matthew Wells <matthew.wells@improving.com>
opensearch-trigger-bot bot pushed a commit that referenced this issue Feb 16, 2023
* Updated EXPM1() and tests to new engine

Signed-off-by: Matthew Wells <matthew.wells@improving.com>
(cherry picked from commit e990201)
penghuo pushed a commit that referenced this issue Feb 16, 2023
* Updated EXPM1() and tests to new engine

Signed-off-by: Matthew Wells <matthew.wells@improving.com>
(cherry picked from commit e990201)

Co-authored-by: Matthew Wells <matthew.wells@improving.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request PPL Piped processing language
Projects
None yet
Development

No branches or pull requests

1 participant