char_length
function
Applies to: Databricks SQL Databricks Runtime
Returns the character length of string data or number of bytes of binary data. This function is a synonym for character_length function and length function.
CLUSTER BY
clause (TABLE)mask
clauseROW FILTER
clauseUpdated Dec 20, 2024
char_length
function Applies to: Databricks SQL Databricks Runtime
Returns the character length of string data or number of bytes of binary data. This function is a synonym for character_length function and length function.
The result type is INTEGER.
The length of string data includes the trailing spaces. The length of binary data includes binary zeros.