GET_JSON_INT (Lakehouse v2)
指定したパスでJSONオブジェクトから整数値を抽出します。
Analyzeの構文
Section titled “Analyzeの構文”func.get_json_int(get_column(table, 'data'), '$.age')Analyzeの例
Section titled “Analyzeの例”func.get_json_int(get_column(table, 'data'), '$.age')
┌────┐│ 30 │└────┘SQLの構文
Section titled “SQLの構文”GET_JSON_INT(<data>, '$.age')SELECT GET_JSON_INT('{"age": 30}', '$.age');
┌────┐│ 30 │└────┘