Skip to content

Conversation

dnhatn
Copy link
Member

@dnhatn dnhatn commented Oct 13, 2025

Backports the following commits to 8.19:

We should not return the BytesRef directly from ConstantBytesRefBlock, 
but instead copy its slice to a scratch buffer. Although current usage
does not modify the offset and length, the contract should allow callers
to change these fields, as long as the content of the bytes array
remains unchanged. The usage pattern below should be fine, but currently
it can change ConstantBytesRefBlock.
@dnhatn dnhatn added :Analytics/ES|QL AKA ESQL >non-issue auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) labels Oct 13, 2025
@elasticsearchmachine elasticsearchmachine merged commit cb072d3 into elastic:8.19 Oct 13, 2025
24 checks passed
@dnhatn dnhatn deleted the backport/8.19/pr-136445 branch October 13, 2025 05:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/ES|QL AKA ESQL auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport >non-issue Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v8.19.6

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants