Skip to content

Conversation

@jan-elastic
Copy link
Contributor

@jan-elastic jan-elastic commented May 9, 2025

fixes #127950
fixes #127951

@jan-elastic jan-elastic added >test-failure Triaged test failures from CI :ml Machine learning Team:ML Meta label for the ML team v9.1.0 labels May 9, 2025
@elasticsearchmachine elasticsearchmachine added the needs:risk Requires assignment of a risk label (low, medium, blocker) label May 9, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/ml-core (Team:ML)

@jan-elastic jan-elastic assigned ivancea and unassigned ivancea May 9, 2025
@jan-elastic jan-elastic requested a review from ivancea May 9, 2025 08:50
MultiRowTestCaseSupplier.stringCases(1, 1000, DataType.KEYWORD),
MultiRowTestCaseSupplier.stringCases(1, 1000, DataType.TEXT),
MultiRowTestCaseSupplier.stringCases(1, 20, DataType.KEYWORD),
MultiRowTestCaseSupplier.stringCases(1, 20, DataType.TEXT),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

These are the same values as in ValuesTests now, so that should be safe.

@jan-elastic jan-elastic enabled auto-merge (squash) May 9, 2025 10:05
@jan-elastic jan-elastic merged commit 8761067 into elastic:main May 9, 2025
16 of 17 checks passed
@jan-elastic jan-elastic deleted the fix-sampletests branch May 9, 2025 11:11
jfreden pushed a commit to jfreden/elasticsearch that referenced this pull request May 12, 2025
jan-elastic added a commit to jan-elastic/elasticsearch that referenced this pull request Jun 18, 2025
jan-elastic added a commit to jan-elastic/elasticsearch that referenced this pull request Jun 18, 2025
jan-elastic added a commit to jan-elastic/elasticsearch that referenced this pull request Jun 18, 2025
jan-elastic added a commit to jan-elastic/elasticsearch that referenced this pull request Jun 19, 2025
jan-elastic added a commit that referenced this pull request Jun 19, 2025
* ES|QL SAMPLE aggregation function (#127629)

* ES|QL SAMPLE aggregation function

* [CI] Auto commit changes from spotless

* ThreadLocalRandom -> SplittableRandom

* Update docs/changelog/127629.yaml

* fix yaml test

* Add SampleTests

* docs + example

* polish code

* mark generated imports

* comment with algorith description

* use Randomness.get()

* close properly

* type checks

* reuse hash

* regen some files

* [CI] Auto commit changes from spotless

---------

Co-authored-by: elasticsearchmachine <[email protected]>

* Fix + unmute SampleTests (#127959)

* Fix memory tracking of ES|QL sample agg (#128467)

* Fix memory tracking of ES|QL sample agg

* [CI] Auto commit changes from spotless

* polish code

---------

Co-authored-by: elasticsearchmachine <[email protected]>

* ESQL: Unclean generated imports (#127723)

This removes a ton of the tricky juggling we do for generated java files
to keep the imports in order. Instead, we just live with them being out
of order a little. It's not great, but it's so so so much easier than
the terrible juggling we had been doing.

* ESQL: Disable format checks on generated imports (#127648)

This builds the infrastructure to disable spotless and some checkstyle
rules on generated imports. This works around the most frustrating part
of ESQL's string template generated files - the imports. It allows
unused and out of order imports. This can let us remove a lot of
cumbersome, tricky, and fairly useless `$if$` blocks from the templates.

---------

Co-authored-by: elasticsearchmachine <[email protected]>
Co-authored-by: Nik Everett <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:ml Machine learning needs:risk Requires assignment of a risk label (low, medium, blocker) Team:ML Meta label for the ML team >test-failure Triaged test failures from CI v9.1.0

Projects

None yet

3 participants