Skip to content

Commit 75c1e10

Browse files
authored
[DOCS] Add inline applies_to annotations for new aggregation function list (#136271)
* [DOCS] Add inline applies_to annotations for new aggregation functions in list * Fix alphabetization, remove duplicate inclusion
1 parent e36bb81 commit 75c1e10

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

docs/reference/query-languages/esql/_snippets/lists/aggregation-functions.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
* [`ABSENT`](../../functions-operators/aggregation-functions.md#esql-absent)
1+
* {applies_to}`stack: ga 9.2` {applies_to}`serverless: ga` [`ABSENT`](../../functions-operators/aggregation-functions.md#esql-absent)
22
* [`AVG`](../../functions-operators/aggregation-functions.md#esql-avg)
33
* [`COUNT`](../../functions-operators/aggregation-functions.md#esql-count)
44
* [`COUNT_DISTINCT`](../../functions-operators/aggregation-functions.md#esql-count_distinct)
5-
* [`FIRST`](../../functions-operators/aggregation-functions.md#esql-first)
6-
* [`LAST`](../../functions-operators/aggregation-functions.md#esql-last)
5+
* {applies_to}`stack: ga 9.2` {applies_to}`serverless: ga` [`FIRST`](../../functions-operators/aggregation-functions.md#esql-first)
6+
* {applies_to}`stack: ga 9.2` {applies_to}`serverless: ga` [`LAST`](../../functions-operators/aggregation-functions.md#esql-last)
77
* [`MAX`](../../functions-operators/aggregation-functions.md#esql-max)
88
* [`MEDIAN`](../../functions-operators/aggregation-functions.md#esql-median)
99
* [`MEDIAN_ABSOLUTE_DEVIATION`](../../functions-operators/aggregation-functions.md#esql-median_absolute_deviation)
1010
* [`MIN`](../../functions-operators/aggregation-functions.md#esql-min)
1111
* [`PERCENTILE`](../../functions-operators/aggregation-functions.md#esql-percentile)
12-
* [`PRESENT`](../../functions-operators/aggregation-functions.md#esql-present)
12+
* {applies_to}`stack: ga 9.2` {applies_to}`serverless: ga` [`PRESENT`](../../functions-operators/aggregation-functions.md#esql-present)
1313
* [`SAMPLE`](../../functions-operators/aggregation-functions.md#esql-sample)
1414
* {applies_to}`stack: preview` {applies_to}`serverless: preview` [`ST_CENTROID_AGG`](../../functions-operators/aggregation-functions.md#esql-st_centroid_agg)
1515
* {applies_to}`stack: preview` {applies_to}`serverless: preview` [`ST_EXTENT_AGG`](../../functions-operators/aggregation-functions.md#esql-st_extent_agg)

docs/reference/query-languages/esql/functions-operators/aggregation-functions.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ The [`STATS`](/reference/query-languages/esql/commands/stats-by.md) and [`INLINE
4949
:::{include} ../_snippets/functions/layout/percentile.md
5050
:::
5151

52+
:::{include} ../_snippets/functions/layout/present.md
53+
:::
54+
5255
:::{include} ../_snippets/functions/layout/sample.md
5356
:::
5457

@@ -72,9 +75,3 @@ The [`STATS`](/reference/query-languages/esql/commands/stats-by.md) and [`INLINE
7275

7376
:::{include} ../_snippets/functions/layout/weighted_avg.md
7477
:::
75-
76-
:::{include} ../_snippets/functions/layout/present.md
77-
:::
78-
79-
:::{include} ../_snippets/functions/layout/absent.md
80-
:::

0 commit comments

Comments
 (0)