Skip to content

Conversation

@dnhatn
Copy link
Member

@dnhatn dnhatn commented Apr 4, 2025

This change performs extrapolation for rate aggregation similarly to how PromQL does.

@dnhatn dnhatn force-pushed the keep-rate-sample branch 4 times, most recently from 9e182cd to 9f24510 Compare April 5, 2025 04:34
@dnhatn dnhatn force-pushed the keep-rate-sample branch from 9f24510 to 7c91bee Compare April 7, 2025 05:32
return new DriverContext(blockFactory.bigArrays(), blockFactory);
}

public void testBasicRate() throws Exception {
Copy link
Member Author

Choose a reason for hiding this comment

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

We no longer need these tests. Spec tests should cover them.

@dnhatn dnhatn requested review from kkrik-es and martijnvg April 7, 2025 06:20
@dnhatn dnhatn marked this pull request as ready for review April 7, 2025 06:21
@elasticsearchmachine elasticsearchmachine added Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) Team:StorageEngine labels Apr 7, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-analytical-engine (Team:Analytics)

@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-storage-engine (Team:StorageEngine)

Copy link
Contributor

@kkrik-es kkrik-es left a comment

Choose a reason for hiding this comment

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

Nice, good progress. Do we have tests covering the cases where we have 0 or 1 data points in a bucket?

@dnhatn dnhatn force-pushed the keep-rate-sample branch from 0b0d45b to 47ded01 Compare April 7, 2025 19:45
@dnhatn dnhatn requested a review from kkrik-es April 7, 2025 19:47
@dnhatn
Copy link
Member Author

dnhatn commented Apr 7, 2025

@kkrik-es Thanks for reviewing. I think this is ready again.

Copy link
Contributor

@kkrik-es kkrik-es left a comment

Choose a reason for hiding this comment

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

Nice, getting there.

@dnhatn
Copy link
Member Author

dnhatn commented Apr 7, 2025

@kkrik-es Thanks so much for the quick review :)

@dnhatn dnhatn merged commit 6c641c0 into elastic:main Apr 7, 2025
17 checks passed
@dnhatn dnhatn deleted the keep-rate-sample branch April 7, 2025 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/ES|QL AKA ESQL >non-issue :StorageEngine/TSDB You know, for Metrics Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) Team:StorageEngine v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants