Skip to content

Conversation

@JonasKunz
Copy link
Contributor

Replaces the iterator-like accessor for ExponentialHistogramBlock with the same pattern we already use for BytesRefBlock: The user has to allocate the memory for the return value and provide as an argument.
We use a ExponentialHistogramScratch class to encapsulate the actual memory and block layout.

This change makes the ExponentialHistogramBlock (a) more consistent with the existing blocks and subsequently (b) makes it simpler to adapt our function code generation to work nicely with exponential histograms.

@elasticsearchmachine elasticsearchmachine added needs:triage Requires assignment of a team area label external-contributor Pull request authored by a developer outside the Elasticsearch team v9.3.0 labels Oct 30, 2025
@JonasKunz JonasKunz added >non-issue :Analytics/ES|QL AKA ESQL and removed needs:triage Requires assignment of a team area label labels Oct 30, 2025
@elasticsearchmachine elasticsearchmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Oct 30, 2025
@elasticsearchmachine
Copy link
Collaborator

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

Copy link
Member

@nik9000 nik9000 left a comment

Choose a reason for hiding this comment

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

Sure. Give it a shot.

@JonasKunz JonasKunz merged commit e522df6 into elastic:main Oct 30, 2025
34 checks passed
@JonasKunz JonasKunz deleted the esql-histogram-scratch branch October 30, 2025 14:30
chrisparrinello pushed a commit to chrisparrinello/elasticsearch that referenced this pull request Nov 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/ES|QL AKA ESQL external-contributor Pull request authored by a developer outside the Elasticsearch team >non-issue Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants