Skip to content

Commit

Permalink
Hunting down CI failures elastic#1
Browse files Browse the repository at this point in the history
  • Loading branch information
Gal (Windows) committed Nov 11, 2024
1 parent 33b50ab commit ce0a6b4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 23 deletions.
2 changes: 2 additions & 0 deletions docs/reference/esql/functions/string-functions.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

// tag::string_list[]
* <<esql-bit_length>>
* <<esql-byte_length>>
* <<esql-concat>>
* <<esql-ends_with>>
* <<esql-from_base64>>
Expand All @@ -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[]
Expand Down
21 changes: 0 additions & 21 deletions docs/reference/sql/functions/string.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down Expand Up @@ -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

0 comments on commit ce0a6b4

Please sign in to comment.