Skip to content

[TEST] Don't inject boundary tuples for rate calculation when one exists#140649

Merged
kkrik-es merged 1 commit intoelastic:mainfrom
kkrik-es:fix/140598
Jan 14, 2026
Merged

[TEST] Don't inject boundary tuples for rate calculation when one exists#140649
kkrik-es merged 1 commit intoelastic:mainfrom
kkrik-es:fix/140598

Conversation

@kkrik-es
Copy link
Copy Markdown
Member

To calculate rate correctly, we need to interpolate the counter value at the group boundary. However, this in not needed when the group already contains a value at the boundary.

Fixes #140598

@kkrik-es kkrik-es self-assigned this Jan 14, 2026
@kkrik-es kkrik-es added >test Issues or PRs that are addressing/adding tests auto-backport Automatically create backport pull requests when merged Team:StorageEngine :StorageEngine/ES|QL Timeseries / metrics / PromQL / logsdb capabilities in ES|QL v9.3.1 labels Jan 14, 2026
@kkrik-es kkrik-es requested a review from JonasKunz January 14, 2026 13:31
@kkrik-es kkrik-es marked this pull request as ready for review January 14, 2026 13:31
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

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

Copy link
Copy Markdown
Contributor

@JonasKunz JonasKunz left a comment

Choose a reason for hiding this comment

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

LGTM

@kkrik-es kkrik-es merged commit 0d0a9b2 into elastic:main Jan 14, 2026
35 checks passed
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

💚 Backport successful

Status Branch Result
9.3

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

Labels

auto-backport Automatically create backport pull requests when merged :StorageEngine/ES|QL Timeseries / metrics / PromQL / logsdb capabilities in ES|QL Team:StorageEngine >test Issues or PRs that are addressing/adding tests v9.3.1 v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RandomizedTimeSeriesIT testRateGroupBySubset failing

3 participants