Skip to content

Commit 6979cad

Browse files
authored
[8.x] [ES|QL] ToAggregateMetricDouble function (elastic#124595) (elastic#125172)
* [ES|QL] ToAggregateMetricDouble function (elastic#124595) This commit adds a conversion function from numerics (and aggregate metric doubles) to aggregate metric doubles. It is most useful when you have multiple indices, where one index uses aggregate metric double (e.g. a downsampled index) and another uses a normal numeric type like long or double (e.g. an index prior to downsampling). * modify docs and factory constructors
1 parent 3e9bc9b commit 6979cad

File tree

24 files changed

+956
-8
lines changed

24 files changed

+956
-8
lines changed

docs/changelog/124595.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 124595
2+
summary: '`ToAggregateMetricDouble` function'
3+
area: "ES|QL"
4+
type: enhancement
5+
issues: []

docs/reference/esql/functions/description/to_aggregate_metric_double.asciidoc

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/esql/functions/description/to_aggregate_metric_double.md

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/esql/functions/kibana/definition/to_aggregate_metric_double.json

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/esql/functions/kibana/docs/to_aggregate_metric_double.md

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/esql/functions/layout/to_aggregate_metric_double.asciidoc

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/esql/functions/parameters/to_aggregate_metric_double.asciidoc

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/esql/functions/signature/to_aggregate_metric_double.svg

Lines changed: 1 addition & 0 deletions
Loading

docs/reference/esql/functions/types/to_aggregate_metric_double.asciidoc

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

server/src/main/java/org/elasticsearch/TransportVersions.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ static TransportVersion def(int id) {
196196
public static final TransportVersion ML_INFERENCE_DEEPSEEK_8_19 = def(8_841_0_09);
197197
public static final TransportVersion ESQL_SERIALIZE_BLOCK_TYPE_CODE = def(8_841_0_10);
198198
public static final TransportVersion ESQL_FAILURE_FROM_REMOTE = def(8_841_0_11);
199+
public static final TransportVersion ESQL_AGGREGATE_METRIC_DOUBLE_LITERAL = def(8_841_0_12);
199200

200201
/*
201202
* STOP! READ THIS FIRST! No, really,

0 commit comments

Comments
 (0)