diff --git a/extensions/functions_string.yaml b/extensions/functions_string.yaml index 3acdb48ae..64b957bce 100644 --- a/extensions/functions_string.yaml +++ b/extensions/functions_string.yaml @@ -1093,6 +1093,23 @@ scalar_functions: - value: "fixedchar" name: "input" return: i64 + - + name: char_length_32 + description: >- + Return the number of characters in the input string. The length includes trailing spaces. + impls: + - args: + - value: "string" + name: "input" + return: i32 + - args: + - value: "varchar" + name: "input" + return: i32 + - args: + - value: "fixedchar" + name: "input" + return: i32 - name: bit_length description: Return the number of bits in the input string. @@ -1109,6 +1126,22 @@ scalar_functions: - value: "fixedchar" name: "input" return: i64 + - + name: bit_length_32 + description: Return the number of bits in the input string. + impls: + - args: + - value: "string" + name: "input" + return: i32 + - args: + - value: "varchar" + name: "input" + return: i32 + - args: + - value: "fixedchar" + name: "input" + return: i32 - name: octet_length description: Return the number of bytes in the input string. @@ -1125,6 +1158,22 @@ scalar_functions: - value: "fixedchar" name: "input" return: i64 + - + name: octet_length_32 + description: Return the number of bytes in the input string. + impls: + - args: + - value: "string" + name: "input" + return: i32 + - args: + - value: "varchar" + name: "input" + return: i32 + - args: + - value: "fixedchar" + name: "input" + return: i32 - name: regexp_replace description: >-