Skip to content

Conversation

@felixbarny
Copy link
Member

Create TBUCKET from step instead of range selector as a query may not have a range selector

Create TBUCKET from step instead of range selector as a query may not have a range selector
@elasticsearchmachine elasticsearchmachine added the external-contributor Pull request authored by a developer outside the Elasticsearch team label Nov 3, 2025
if (bucket != null) {
aggs.add(bucket);
groupings.add(bucket.toAttribute());
Duration bucketDuration;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should probably be done once for the entire query rather than on every AcrossSeriesAggregate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

external-contributor Pull request authored by a developer outside the Elasticsearch team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants