diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/grouping/Categorize.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/grouping/Categorize.java index 9593a3af2a9f..e2c04ecb15b5 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/grouping/Categorize.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/grouping/Categorize.java @@ -53,7 +53,7 @@ public class Categorize extends GroupingFunction implements Validatable { * can't be used within other expressions * can't be used with multiple groupings - * can't be used or referenced within aggregations""", + * can't be used or referenced within aggregate functions""", examples = { @Example( file = "docs",