-
Notifications
You must be signed in to change notification settings - Fork 25.7k
ESQL: Add Values aggregation tests, fix ConstantBytesRefVector memory handling #111367
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
Conversation
# Conflicts: # x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/expression/function/MultiRowTestCaseSupplier.java
|
Documentation preview: |
|
Pinging @elastic/es-analytical-engine (Team:Analytics) |
|
Pinging @elastic/kibana-esql (ES|QL-ui) |
|
Hi @ivancea, I've created a changelog YAML for you. |
| Constant$Type$Vector($type$ value, int positionCount, BlockFactory blockFactory) { | ||
| super(positionCount, blockFactory); | ||
| $if(BytesRef)$ | ||
| this.value = BytesRef.deepCopyOf(value); |
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.
I wonder if we're better off copying on the caller. I imagine there are lots of folks who already deep copy.
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.
Updated
| }); | ||
| } | ||
|
|
||
| private static <T, C extends T> Matcher<Object> valuesInAnyOrder(Collection<T> data) { |
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.
|
@elasticmachine update branch |
|
This PR was merged with #111409 by error, as it was a dependent branch |
Uh oh!
There was an error while loading. Please reload this page.