GET_JSON_BOOL (Lakehouse v2)
Extrait une valeur booléenne d’un objet JSON à partir d’un chemin spécifié.
Syntaxe Analyze
Section intitulée « Syntaxe Analyze »func.get_json_bool(get_column(table, 'data'), '$.active')Exemples Analyze
Section intitulée « Exemples Analyze »func.get_json_bool(get_column(table, 'data'), '$.active')
┌───┐│ 1 │└───┘Syntaxe SQL
Section intitulée « Syntaxe SQL »GET_JSON_BOOL(<data>, '$.active')Exemples SQL
Section intitulée « Exemples SQL »SELECT GET_JSON_BOOL('{"active": true}', '$.active');
┌───┐│ 1 │└───┘