IFNULL (Lakehouse v2)
Returns the first expression if it is not NULL, otherwise returns the second expression.
Analyze Syntax
Section titled “Analyze Syntax”func.ifnull(get_column(table, 'phone'), 'N/A')Analyze Examples
Section titled “Analyze Examples”func.ifnull(get_column(table, 'phone'), 'N/A')SQL Syntax
Section titled “SQL Syntax”IFNULL(<phone>, 'N/A')SQL Examples
Section titled “SQL Examples”SELECT name, IFNULL(phone, 'N/A') AS phone FROM contacts;
┌─────────┬──────────┐│ name │ phone │├─────────┼──────────┤│ Alice │ 555-1234 ││ Bob │ N/A │└─────────┴──────────┘