elasticsearch/docs/reference/query-languages/esql/_snippets
Jan Kuipers 9cf2a64067
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 <infra-root+elasticsearchmachine@elastic.co>
2025-05-08 08:01:53 +02:00
..
commands ESQL: Document LU JOIN/MV_EXPAND not respecting SORT (#127718) 2025-05-07 10:59:48 +02:00
common Split ES|QL functions/operators/commands into separate pages for similar functions and make commands examples generated (#126279) 2025-04-10 15:56:05 +02:00
functions ES|QL SAMPLE aggregation function (#127629) 2025-05-08 08:01:53 +02:00
lists Support depthOffset in MD docs headings for nesting functions (#126984) 2025-04-19 11:28:05 +02:00
operators Split ES|QL functions/operators/commands into separate pages for similar functions and make commands examples generated (#126279) 2025-04-10 15:56:05 +02:00