Skip to content

ES|QL approximate query execution - #131828

Merged
jan-elastic merged 117 commits into
elastic:mainfrom
jan-elastic:esql-approximate
Jan 28, 2026
Merged

jan-elastic merged 117 commits into
elastic:mainfrom
jan-elastic:esql-approximate

Conversation

@jan-elastic

@jan-elastic jan-elastic commented Jul 24, 2025 •

Copy link
Copy Markdown
Contributor

First version of approximate query execution

For more details, see:

You can use this currently as follows

    SET approximate=true;
    FROM kibana_sample_data_ecommerce
     | STATS count=COUNT() BY CATEGORIZE(category)
     | SORT count DESC

but the final API will look differently (probably SET command in the ES|QL query)

@jan-elastic
jan-elastic marked this pull request as draft July 24, 2025 13:09
@jan-elastic jan-elastic changed the title [Proof of Concept] ES|QL approximate query execution [DON'T MERGE] Proof of Concept: ES|QL approximate query execution Jul 24, 2025

@ivancea ivancea left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Just a shallow check. To me, it makes sense. I would wait for somebody else to have another opinion though, in case this extra query could lead to something bad somewhere

@jan-elastic
jan-elastic force-pushed the esql-approximate branch 5 times, most recently from 319d98d to 36a55ec Compare July 30, 2025 13:55
@jan-elastic
jan-elastic force-pushed the esql-approximate branch 2 times, most recently from b00550a to 39eb164 Compare August 27, 2025 11:22
@jan-elastic
jan-elastic force-pushed the esql-approximate branch 2 times, most recently from 380e7ac to e47f0db Compare October 7, 2025 09:16
@jan-elastic
jan-elastic force-pushed the esql-approximate branch 4 times, most recently from 31a796d to 098dbd6 Compare October 13, 2025 10:27
@jan-elastic jan-elastic added cloud-deploy Publish cloud docker image for Cloud-First-Testing :ml Machine learning Team:ML Meta label for the ML team labels Oct 13, 2025
@jan-elastic
jan-elastic force-pushed the esql-approximate branch 5 times, most recently from 66c7b07 to cb3173d Compare October 15, 2025 12:47
@jan-elastic
jan-elastic merged commit da1207a into elastic:main Jan 28, 2026
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cloud-deploy Publish cloud docker image for Cloud-First-Testing >feature :ml/esql :ml Machine learning Team:ML Meta label for the ML team v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants