GET_JSON_DOUBLE (Lakehouse v2)
按指定路径从 JSON 对象中提取双精度浮点值。
Analyze 语法
Section titled “Analyze 语法”func.get_json_double(get_column(table, 'data'), '$.price')Analyze 示例
Section titled “Analyze 示例”func.get_json_double(get_column(table, 'data'), '$.price')
┌───────┐│ 19.99 │└───────┘SQL 语法
Section titled “SQL 语法”GET_JSON_DOUBLE(<data>, '$.price')SQL 示例
Section titled “SQL 示例”SELECT GET_JSON_DOUBLE('{"price": 19.99}', '$.price');
┌───────┐│ 19.99 │└───────┘