GET_JSON_DOUBLE (Lakehouse v2)
Extracts a double value from a JSON object by a specified path.
Analyze Syntax
Section titled “Analyze Syntax”func.get_json_double(get_column(table, 'data'), '$.price')Analyze Examples
Section titled “Analyze Examples”func.get_json_double(get_column(table, 'data'), '$.price')
┌───────┐│ 19.99 │└───────┘SQL Syntax
Section titled “SQL Syntax”GET_JSON_DOUBLE(<data>, '$.price')SQL Examples
Section titled “SQL Examples”SELECT GET_JSON_DOUBLE('{"price": 19.99}', '$.price');
┌───────┐│ 19.99 │└───────┘