diff --git a/docs/reference/query-languages/esql/_snippets/functions/layout/first.md b/docs/reference/query-languages/esql/_snippets/functions/layout/first.md index ef9e358866153..a9a2b064e43cb 100644 --- a/docs/reference/query-languages/esql/_snippets/functions/layout/first.md +++ b/docs/reference/query-languages/esql/_snippets/functions/layout/first.md @@ -2,7 +2,7 @@ ## `FIRST` [esql-first] ```{applies_to} -stack: ga 9.2.0 +stack: ga 9.3.0 ``` **Syntax** diff --git a/docs/reference/query-languages/esql/_snippets/functions/layout/last.md b/docs/reference/query-languages/esql/_snippets/functions/layout/last.md index ac4254c526a30..39104fdd08e38 100644 --- a/docs/reference/query-languages/esql/_snippets/functions/layout/last.md +++ b/docs/reference/query-languages/esql/_snippets/functions/layout/last.md @@ -2,7 +2,7 @@ ## `LAST` [esql-last] ```{applies_to} -stack: ga 9.2.0 +stack: ga 9.3.0 ``` **Syntax** diff --git a/docs/reference/query-languages/esql/_snippets/lists/aggregation-functions.md b/docs/reference/query-languages/esql/_snippets/lists/aggregation-functions.md index 11dfbcd102601..9f367439c1e35 100644 --- a/docs/reference/query-languages/esql/_snippets/lists/aggregation-functions.md +++ b/docs/reference/query-languages/esql/_snippets/lists/aggregation-functions.md @@ -2,8 +2,6 @@ * [`AVG`](../../functions-operators/aggregation-functions.md#esql-avg) * [`COUNT`](../../functions-operators/aggregation-functions.md#esql-count) * [`COUNT_DISTINCT`](../../functions-operators/aggregation-functions.md#esql-count_distinct) -* [`FIRST`](../../functions-operators/aggregation-functions.md#esql-first) {applies_to}`stack: ga 9.2` -* [`LAST`](../../functions-operators/aggregation-functions.md#esql-last) {applies_to}`stack: ga 9.2` * [`MAX`](../../functions-operators/aggregation-functions.md#esql-max) * [`MEDIAN`](../../functions-operators/aggregation-functions.md#esql-median) * [`MEDIAN_ABSOLUTE_DEVIATION`](../../functions-operators/aggregation-functions.md#esql-median_absolute_deviation) diff --git a/docs/reference/query-languages/esql/functions-operators/aggregation-functions.md b/docs/reference/query-languages/esql/functions-operators/aggregation-functions.md index 602a65cd5e282..264a8381dddc6 100644 --- a/docs/reference/query-languages/esql/functions-operators/aggregation-functions.md +++ b/docs/reference/query-languages/esql/functions-operators/aggregation-functions.md @@ -28,12 +28,6 @@ The [`STATS`](/reference/query-languages/esql/commands/stats-by.md) and [`INLINE :::{include} ../_snippets/functions/layout/count_distinct.md ::: -:::{include} ../_snippets/functions/layout/first.md -::: - -:::{include} ../_snippets/functions/layout/last.md -::: - :::{include} ../_snippets/functions/layout/max.md ::: diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/aggregate/First.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/aggregate/First.java index 2a9b43371b7ea..83522080f13ad 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/aggregate/First.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/aggregate/First.java @@ -47,7 +47,7 @@ public class First extends AggregateFunction implements ToAggregator { type = FunctionType.AGGREGATE, returnType = { "long", "integer", "double", "keyword" }, description = "Calculates the earliest value of a field.", - appliesTo = { @FunctionAppliesTo(lifeCycle = FunctionAppliesToLifecycle.GA, version = "9.2.0") }, + appliesTo = { @FunctionAppliesTo(lifeCycle = FunctionAppliesToLifecycle.GA, version = "9.3.0") }, examples = @Example(file = "stats_first", tag = "first") ) public First( diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/aggregate/Last.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/aggregate/Last.java index bcacae6d380e9..d042c7528dcdd 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/aggregate/Last.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/aggregate/Last.java @@ -47,7 +47,7 @@ public class Last extends AggregateFunction implements ToAggregator { type = FunctionType.AGGREGATE, returnType = { "long", "integer", "double", "keyword" }, description = "Calculates the latest value of a field.", - appliesTo = { @FunctionAppliesTo(lifeCycle = FunctionAppliesToLifecycle.GA, version = "9.2.0") }, + appliesTo = { @FunctionAppliesTo(lifeCycle = FunctionAppliesToLifecycle.GA, version = "9.3.0") }, examples = @Example(file = "stats_last", tag = "last") ) public Last(