GET_JSON_BOOL (Lakehouse v2)
Extracts a boolean value from a JSON object by a specified path.
Analyze Syntax
Section titled “Analyze Syntax”func.get_json_bool(get_column(table, 'data'), '$.active')Analyze Examples
Section titled “Analyze Examples”func.get_json_bool(get_column(table, 'data'), '$.active')
┌───┐│ 1 │└───┘SQL Syntax
Section titled “SQL Syntax”GET_JSON_BOOL(<data>, '$.active')SQL Examples
Section titled “SQL Examples”SELECT GET_JSON_BOOL('{"active": true}', '$.active');
┌───┐│ 1 │└───┘