You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/scalar/string/BitLength.java
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,7 @@ public class BitLength extends UnaryScalarFunction {
40
40
@FunctionInfo(
41
41
returnType = "integer",
42
42
description = "Returns the bit length of a string.",
43
+
note = "All strings are in UTF-8, so a single character can use multiple bytes.",
43
44
examples = @Example(file = "docs", tag = "bitLength")
Copy file name to clipboardExpand all lines: x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/scalar/string/ByteLength.java
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,7 @@ public class ByteLength extends UnaryScalarFunction {
37
37
@FunctionInfo(
38
38
returnType = "integer",
39
39
description = "Returns the byte length of a string.",
40
+
note = "All strings are in UTF-8, so a single character can use multiple bytes.",
40
41
examples = @Example(file = "eval", tag = "byteLength")
Copy file name to clipboardExpand all lines: x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/scalar/string/Length.java
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,7 @@ public class Length extends UnaryScalarFunction {
34
34
@FunctionInfo(
35
35
returnType = "integer",
36
36
description = "Returns the character length of a string.",
37
+
note = "All strings are in UTF-8, so a single character can use multiple bytes.",
37
38
examples = @Example(file = "eval", tag = "length")
0 commit comments