Skip to content

[FEATURE] Support flexible grouping order in aggregation including span #2719

@xinyual

Description

@xinyual

Is your feature request related to a problem?
When query using PPL, we find
source=opensearch_dashboards_sample_data_logs |stats COUNT() as cnt by span(timestamp, 1d), response could work but source=opensearch_dashboards_sample_data_logs |stats COUNT() as cnt by response, span(timestamp, 1d) fails. It is unreasonable because the order should not influence the execution result. It works well if span is not included

What solution would you like?
Support flexible order when including span

Metadata

Metadata

Assignees

Labels

PPLPiped processing languageenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions