From 6a3a447f1885418164ca62294226b00ba2965089 Mon Sep 17 00:00:00 2001 From: Tim Grein Date: Thu, 31 Oct 2024 15:25:20 +0100 Subject: [PATCH] Remove double "the" from median absolute deviation description (#115826) --- .../esql/functions/examples/median_absolute_deviation.asciidoc | 2 +- .../expression/function/aggregate/MedianAbsoluteDeviation.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/esql/functions/examples/median_absolute_deviation.asciidoc b/docs/reference/esql/functions/examples/median_absolute_deviation.asciidoc index 9084c008e890a..cfd3d0a9159aa 100644 --- a/docs/reference/esql/functions/examples/median_absolute_deviation.asciidoc +++ b/docs/reference/esql/functions/examples/median_absolute_deviation.asciidoc @@ -10,7 +10,7 @@ include::{esql-specs}/median_absolute_deviation.csv-spec[tag=median-absolute-dev |=== include::{esql-specs}/median_absolute_deviation.csv-spec[tag=median-absolute-deviation-result] |=== -The expression can use inline functions. For example, to calculate the the median absolute deviation of the maximum values of a multivalued column, first use `MV_MAX` to get the maximum value per row, and use the result with the `MEDIAN_ABSOLUTE_DEVIATION` function +The expression can use inline functions. For example, to calculate the median absolute deviation of the maximum values of a multivalued column, first use `MV_MAX` to get the maximum value per row, and use the result with the `MEDIAN_ABSOLUTE_DEVIATION` function [source.merge.styled,esql] ---- include::{esql-specs}/median_absolute_deviation.csv-spec[tag=docsStatsMADNestedExpression] diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/aggregate/MedianAbsoluteDeviation.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/aggregate/MedianAbsoluteDeviation.java index dfcbd6d22abae..42960cafdfd3a 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/aggregate/MedianAbsoluteDeviation.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/aggregate/MedianAbsoluteDeviation.java @@ -58,7 +58,7 @@ public class MedianAbsoluteDeviation extends NumericAggregate implements Surroga examples = { @Example(file = "median_absolute_deviation", tag = "median-absolute-deviation"), @Example( - description = "The expression can use inline functions. For example, to calculate the the " + description = "The expression can use inline functions. For example, to calculate the " + "median absolute deviation of the maximum values of a multivalued column, first " + "use `MV_MAX` to get the maximum value per row, and use the result with the " + "`MEDIAN_ABSOLUTE_DEVIATION` function",