Skip to content

Conversation

@dnhatn
Copy link
Member

@dnhatn dnhatn commented Dec 2, 2025

We accidentally pack non-dimension fields when translating TS stats in #136216.

Relates #136216

assertThat(actualAvg, closeTo(expectedAvg, 0.5));
}
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Shall we add a test with grouping on a multi-value label (non-dimension)? It'll unroll, this is ok.

Copy link
Member Author

Choose a reason for hiding this comment

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

Good point. I will make the project a multi-valued field.

@dnhatn dnhatn force-pushed the fix-pack-dimensions branch from 8d688ac to 094633e Compare December 2, 2025 20:09
@dnhatn dnhatn added :StorageEngine/ES|QL Timeseries / metrics / logsdb capabilities in ES|QL >bug v9.2.3 auto-backport Automatically create backport pull requests when merged labels Dec 2, 2025
@elasticsearchmachine
Copy link
Collaborator

Hi @dnhatn, I've created a changelog YAML for you.

@dnhatn dnhatn marked this pull request as ready for review December 2, 2025 20:12
@elasticsearchmachine
Copy link
Collaborator

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

@dnhatn
Copy link
Member Author

dnhatn commented Dec 2, 2025

Thanks Kostas!

@dnhatn dnhatn merged commit f974070 into elastic:main Dec 2, 2025
35 checks passed
@dnhatn dnhatn deleted the fix-pack-dimensions branch December 2, 2025 21:56
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
9.2

dnhatn added a commit to dnhatn/elasticsearch that referenced this pull request Dec 2, 2025
We accidentally pack non-dimension fields when translating TS stats in 
elastic#136216.

Relates elastic#136216
elasticsearchmachine pushed a commit that referenced this pull request Dec 3, 2025
* Do not pack non-dimension fields in TS (#138929)

We accidentally pack non-dimension fields when translating TS stats in 
#136216.

Relates #136216

* compile
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 >bug :StorageEngine/ES|QL Timeseries / metrics / logsdb capabilities in ES|QL Team:StorageEngine v9.2.3 v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants