Get started
Load & manage data
Work with data
Administration
Reference & resources
CLUSTER BY
mask
ROW FILTER
更新しました 2024/12/13
Send us feedback
bit_length
Applies to: Databricks SQL Databricks Runtime
Returns the bit length of string data or number of bits of binary data.
bit_length(expr)
expr: An BINARY or STRING expression.
expr
An INTEGER.
> SELECT bit_length('Spark SQL'); 72 > SELECT bit_length('北京'); 48
length function
char_length function
character_length function