GET_JSON_DOUBLE (Lakehouse v2)
Extrait une valeur de type double d’un objet JSON à partir d’un chemin spécifié.
Syntaxe Analyze
Section intitulée « Syntaxe Analyze »func.get_json_double(get_column(table, 'data'), '$.price')Exemples Analyze
Section intitulée « Exemples Analyze »func.get_json_double(get_column(table, 'data'), '$.price')
┌───────┐│ 19.99 │└───────┘Syntaxe SQL
Section intitulée « Syntaxe SQL »GET_JSON_DOUBLE(<data>, '$.price')Exemples SQL
Section intitulée « Exemples SQL »SELECT GET_JSON_DOUBLE('{"price": 19.99}', '$.price');
┌───────┐│ 19.99 │└───────┘