JSON_EXISTS (Lakehouse v2)
Checks whether a JSON document contains a value at a specified path.
Analyze Syntax
Section titled “Analyze Syntax”func.json_exists(get_column(table, 'data'), '$.name')Analyze Examples
Section titled “Analyze Examples”func.json_exists(get_column(table, 'data'), '$.name')
┌───┐│ 1 │└───┘SQL Syntax
Section titled “SQL Syntax”JSON_EXISTS(<data>, '$.name')SQL Examples
Section titled “SQL Examples”SELECT JSON_EXISTS(PARSE_JSON('{"name":"Alice"}'), '$.name');
┌───┐│ 1 │└───┘