Skip to content

Conversation

jan-elastic
Copy link
Contributor

This adds the Categorize Text Aggregation to ES|QL.

The current syntax is:

FROM index | STATS CATEGORIZE(message)

The result is string semi-colon-separated string of category key, regex, and message count.

This should be changed to:

FROM index | STATS COUNT() BY CATEGORIZE(message)

@jan-elastic jan-elastic requested a review from a team as a code owner September 4, 2024 09:10
@elasticsearchmachine elasticsearchmachine added v8.16.0 needs:triage Requires assignment of a team area label labels Sep 4, 2024
@jan-elastic jan-elastic added :ml Machine learning :Analytics/ES|QL AKA ESQL and removed needs:triage Requires assignment of a team area label v8.16.0 labels Sep 4, 2024
@elasticsearchmachine
Copy link
Collaborator

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

@elasticsearchmachine elasticsearchmachine added Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) Team:ML Meta label for the ML team labels Sep 4, 2024
@elasticsearchmachine
Copy link
Collaborator

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

@elasticsearchmachine
Copy link
Collaborator

Hi @jan-elastic, I've created a changelog YAML for you.

@jan-elastic jan-elastic force-pushed the esql-categorize-playground branch 3 times, most recently from bd443d3 to d6a6bac Compare September 5, 2024 14:30
@jan-elastic jan-elastic force-pushed the esql-categorize-playground branch from 931de92 to 6fe8535 Compare September 6, 2024 08:36
@jan-elastic jan-elastic removed the request for review from a team September 9, 2024 07:55
@jan-elastic jan-elastic closed this Dec 2, 2024
@jan-elastic jan-elastic deleted the esql-categorize-playground branch June 3, 2025 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/ES|QL AKA ESQL >feature :ml Machine learning Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) Team:ML Meta label for the ML team v9.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants