From ce0a6b4701a051f8fd81cceec91d313cabce5f9f Mon Sep 17 00:00:00 2001 From: "Gal (Windows)" <> Date: Mon, 11 Nov 2024 18:28:35 +0200 Subject: [PATCH] Hunting down CI failures #1 --- .../esql/functions/string-functions.asciidoc | 2 ++ docs/reference/sql/functions/string.asciidoc | 21 ------------------- .../rest-api-spec/test/esql/60_usage.yml | 4 ++-- 3 files changed, 4 insertions(+), 23 deletions(-) diff --git a/docs/reference/esql/functions/string-functions.asciidoc b/docs/reference/esql/functions/string-functions.asciidoc index 422860f0a7a1d..ce9636f5c5a3a 100644 --- a/docs/reference/esql/functions/string-functions.asciidoc +++ b/docs/reference/esql/functions/string-functions.asciidoc @@ -9,6 +9,7 @@ // tag::string_list[] * <> +* <> * <> * <> * <> @@ -32,6 +33,7 @@ // end::string_list[] include::layout/bit_length.asciidoc[] +include::layout/byte_length.asciidoc[] include::layout/concat.asciidoc[] include::layout/ends_with.asciidoc[] include::layout/from_base64.asciidoc[] diff --git a/docs/reference/sql/functions/string.asciidoc b/docs/reference/sql/functions/string.asciidoc index 026de19a507b4..2535ccbe0556d 100644 --- a/docs/reference/sql/functions/string.asciidoc +++ b/docs/reference/sql/functions/string.asciidoc @@ -47,27 +47,6 @@ BIT_LENGTH(string_exp) <1> include-tagged::{sql-specs}/docs/docs.csv-spec[stringBitLength] -------------------------------------------------- -[[sql-functions-string-byte-length]] -==== `BYTE_LENGTH` - -.Synopsis: -[source, sql] --------------------------------------------------- -BYTE_LENGTH(string_exp) <1> --------------------------------------------------- -*Input*: - -<1> string expression. If `null`, the function returns `null`. - -*Output*: integer - -*Description*: Returns the length in bytes of the `string_exp` input expression. - -[source, sql] --------------------------------------------------- -include-tagged::{sql-specs}/docs/docs.csv-spec[stringByteLength] --------------------------------------------------- - [[sql-functions-string-char]] ==== `CHAR` diff --git a/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/esql/60_usage.yml b/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/esql/60_usage.yml index 6e7098da33805..db89ffc3dfcca 100644 --- a/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/esql/60_usage.yml +++ b/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/esql/60_usage.yml @@ -91,7 +91,7 @@ setup: - match: {esql.functions.cos: $functions_cos} - gt: {esql.functions.to_long: $functions_to_long} - match: {esql.functions.coalesce: $functions_coalesce} - - length: {esql.functions: 119} # check the "sister" test below for a likely update to the same esql.functions length check + - length: {esql.functions: 120} # check the "sister" test below for a likely update to the same esql.functions length check --- "Basic ESQL usage output (telemetry) non-snapshot version": @@ -162,4 +162,4 @@ setup: - match: {esql.functions.cos: $functions_cos} - gt: {esql.functions.to_long: $functions_to_long} - match: {esql.functions.coalesce: $functions_coalesce} - - length: {esql.functions: 116} # check the "sister" test above for a likely update to the same esql.functions length check + - length: {esql.functions: 117} # check the "sister" test above for a likely update to the same esql.functions length check