GET_JSON_OBJECT (Lakehouse v2)
Extrait un objet JSON d’une chaîne JSON à partir d’un chemin spécifié.
Syntaxe Analyze
Section intitulée « Syntaxe Analyze »func.get_json_object(get_column(table, 'data'), '$.address')Exemples Analyze
Section intitulée « Exemples Analyze »func.get_json_object(get_column(table, 'data'), '$.address')
┌─────────────┐│ JSON object │└─────────────┘Syntaxe SQL
Section intitulée « Syntaxe SQL »GET_JSON_OBJECT(<data>, '$.address')Exemples SQL
Section intitulée « Exemples SQL »SELECT GET_JSON_OBJECT('{"address":{"city":"NYC"}}', '$.address');
┌────────────────┐│ {"city":"NYC"} │└────────────────┘