|
@@ -17,6 +17,8 @@ import org.elasticsearch.xpack.esql.core.tree.Source;
|
|
|
import org.elasticsearch.xpack.esql.core.type.DataType;
|
|
|
import org.elasticsearch.xpack.esql.expression.SurrogateExpression;
|
|
|
import org.elasticsearch.xpack.esql.expression.function.Example;
|
|
|
+import org.elasticsearch.xpack.esql.expression.function.FunctionAppliesTo;
|
|
|
+import org.elasticsearch.xpack.esql.expression.function.FunctionAppliesToLifecycle;
|
|
|
import org.elasticsearch.xpack.esql.expression.function.FunctionInfo;
|
|
|
import org.elasticsearch.xpack.esql.expression.function.FunctionType;
|
|
|
import org.elasticsearch.xpack.esql.expression.function.Param;
|
|
@@ -41,6 +43,7 @@ public class Absent extends AggregateFunction implements SurrogateExpression {
|
|
|
description = "Returns true if the input expression yields no non-null values within the current aggregation context. "
|
|
|
+ "Otherwise it returns false.",
|
|
|
type = FunctionType.AGGREGATE,
|
|
|
+ appliesTo = { @FunctionAppliesTo(lifeCycle = FunctionAppliesToLifecycle.GA, version = "9.2.0") },
|
|
|
examples = {
|
|
|
@Example(file = "absent", tag = "absent"),
|
|
|
@Example(
|