Skip to content

Commit 5fa1b5b

Browse files
Bugfix
1 parent 1b46d3c commit 5fa1b5b

File tree

1 file changed

+1
-1
lines changed
  • x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/aggregate

1 file changed

+1
-1
lines changed

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/aggregate/Percentile.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ private int percentileValue() {
174174
return ((Number) literal.value()).intValue();
175175
}
176176
throw new EsqlIllegalArgumentException(
177-
format(null, "Percentile value must be a constant integer in [{}], found [{}]", source(), percentile)
177+
format(null, "Percentile value must be a constant number in [{}], found [{}]", source(), percentile)
178178
);
179179
}
180180

0 commit comments

Comments
 (0)