-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Extrapolate rate aggregation #126331
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
Extrapolate rate aggregation #126331
Conversation
9e182cd
to
9f24510
Compare
return new DriverContext(blockFactory.bigArrays(), blockFactory); | ||
} | ||
|
||
public void testBasicRate() throws Exception { |
There was a problem hiding this comment.
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.
Pinging @elastic/es-analytical-engine (Team:Analytics) |
Pinging @elastic/es-storage-engine (Team:StorageEngine) |
...mpute/src/main/generated-src/org/elasticsearch/compute/aggregation/RateDoubleAggregator.java
Show resolved
Hide resolved
...mpute/src/main/generated-src/org/elasticsearch/compute/aggregation/RateDoubleAggregator.java
Show resolved
Hide resolved
...mpute/src/main/generated-src/org/elasticsearch/compute/aggregation/RateDoubleAggregator.java
Show resolved
Hide resolved
...mpute/src/main/generated-src/org/elasticsearch/compute/aggregation/RateDoubleAggregator.java
Show resolved
Hide resolved
There was a problem hiding this 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?
@kkrik-es Thanks for reviewing. I think this is ready again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, getting there.
@kkrik-es Thanks so much for the quick review :) |
This change performs extrapolation for rate aggregation similarly to how PromQL does.