|
@@ -55,7 +55,7 @@ public class Max extends AggregateFunction implements ToAggregator, SurrogateExp
|
|
|
);
|
|
|
|
|
|
@FunctionInfo(
|
|
|
- returnType = { "boolean", "double", "integer", "long", "date", "ip", "keyword", "long", "version" },
|
|
|
+ returnType = { "boolean", "double", "integer", "long", "date", "date_nanos", "ip", "keyword", "long", "version" },
|
|
|
description = "The maximum value of a field.",
|
|
|
isAggregation = true,
|
|
|
examples = {
|
|
@@ -72,7 +72,7 @@ public class Max extends AggregateFunction implements ToAggregator, SurrogateExp
|
|
|
Source source,
|
|
|
@Param(
|
|
|
name = "field",
|
|
|
- type = { "boolean", "double", "integer", "long", "date", "ip", "keyword", "text", "long", "version" }
|
|
|
+ type = { "boolean", "double", "integer", "long", "date", "date_nanos", "ip", "keyword", "text", "long", "version" }
|
|
|
) Expression field
|
|
|
) {
|
|
|
this(source, field, Literal.TRUE);
|