Skip to content

Commit 3549756

Browse files
GalLaloucheGal (Windows)
authored andcommitted
[ES|QL] Add support for byte_length scalar function
1 parent e96c755 commit 3549756

File tree

19 files changed

+499
-2
lines changed

19 files changed

+499
-2
lines changed

docs/reference/esql/functions/description/byte_length.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/examples/byte_length.asciidoc

Lines changed: 13 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/bit_length.json

Lines changed: 37 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/byte_length.json

Lines changed: 37 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/byte_length.md

Lines changed: 12 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/byte_length.asciidoc

Lines changed: 15 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/byte_length.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/byte_length.svg

Lines changed: 1 addition & 0 deletions
Loading

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

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

docs/reference/sql/functions/string.asciidoc

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,27 @@ BIT_LENGTH(string_exp) <1>
4747
include-tagged::{sql-specs}/docs/docs.csv-spec[stringBitLength]
4848
--------------------------------------------------
4949

50+
[[sql-functions-string-byte-length]]
51+
==== `BYTE_LENGTH`
52+
53+
.Synopsis:
54+
[source, sql]
55+
--------------------------------------------------
56+
BYTE_LENGTH(string_exp) <1>
57+
--------------------------------------------------
58+
*Input*:
59+
60+
<1> string expression. If `null`, the function returns `null`.
61+
62+
*Output*: integer
63+
64+
*Description*: Returns the length in bytes of the `string_exp` input expression.
65+
66+
[source, sql]
67+
--------------------------------------------------
68+
include-tagged::{sql-specs}/docs/docs.csv-spec[stringByteLength]
69+
--------------------------------------------------
70+
5071
[[sql-functions-string-char]]
5172
==== `CHAR`
5273

0 commit comments

Comments
 (0)