Skip to content

Conversation

@ivancea
Copy link
Contributor

@ivancea ivancea commented Jul 26, 2024

  • Values() aggregation tests and docs
  • Methods to test aggs with BytesRef types
  • ConstantBytesRefVector fix to not use external memory

@ivancea ivancea requested a review from nik9000 July 26, 2024 18:27
@github-actions
Copy link
Contributor

Documentation preview:

@elasticsearchmachine elasticsearchmachine added needs:triage Requires assignment of a team area label v8.16.0 labels Jul 26, 2024
@ivancea ivancea added Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) :Analytics/ES|QL AKA ESQL ES|QL-ui Impacts ES|QL UI >bug and removed needs:triage Requires assignment of a team area label labels Jul 26, 2024
@elasticsearchmachine
Copy link
Collaborator

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

@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/kibana-esql (ES|QL-ui)

@elasticsearchmachine
Copy link
Collaborator

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

@ivancea ivancea changed the title ESQL: Add Values aggregation tests, fix ConstantBytesRefBlock memory handling ESQL: Add Values aggregation tests, fix ConstantBytesRefVector memory handling Jul 26, 2024
Constant$Type$Vector($type$ value, int positionCount, BlockFactory blockFactory) {
super(positionCount, blockFactory);
$if(BytesRef)$
this.value = BytesRef.deepCopyOf(value);
Copy link
Member

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.

Copy link
Contributor Author

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) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ivancea ivancea requested a review from nik9000 July 29, 2024 09:34
@ivancea
Copy link
Contributor Author

ivancea commented Jul 30, 2024

@elasticmachine update branch

@ivancea
Copy link
Contributor Author

ivancea commented Jul 30, 2024

This PR was merged with #111409 by error, as it was a dependent branch

@ivancea ivancea closed this Jul 30, 2024
@ivancea ivancea deleted the values-agg-tests branch July 30, 2024 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/ES|QL AKA ESQL >bug ES|QL-ui Impacts ES|QL UI Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v8.16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants