COLUMN_COMPRESSED_SIZE (Lakehouse v2)
Returns the compressed size in bytes of a column value.
Analyze Syntax
Section titled “Analyze Syntax”func.column_compressed_size(get_column(table, 'data'))Analyze Examples
Section titled “Analyze Examples”func.column_compressed_size(get_column(table, 'data'))
┌─────┐│ 128 │└─────┘SQL Syntax
Section titled “SQL Syntax”COLUMN_COMPRESSED_SIZE(<expr>)SQL Examples
Section titled “SQL Examples”SELECT COLUMN_COMPRESSED_SIZE(data) FROM records LIMIT 1;
┌─────┐│ 128 │└─────┘