TO_BOOLEAN (Lakehouse v1)
Converts a value to BOOLEAN data type.
Analyze Syntax
Section titled “Analyze Syntax”func.to_boolean( <expr> )Analyze Examples
Section titled “Analyze Examples”func.to_boolean('true')
┌──────────────────────────┐│ func.to_boolean('true') │├──────────────────────────┤│ true │└──────────────────────────┘SQL Syntax
Section titled “SQL Syntax”TO_BOOLEAN( <expr> )SQL Examples
Section titled “SQL Examples”SELECT TO_BOOLEAN('true');
┌────────────────────┐│ to_boolean('true') │├────────────────────┤│ true │└────────────────────┘