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