JSON_QUERY (Lakehouse v2)
Extracts a JSON value from a JSON document using a path expression.
Analyze Syntax
Section titled “Analyze Syntax”func.json_query(get_column(table, 'data'), '$.items')Analyze Examples
Section titled “Analyze Examples”func.json_query(get_column(table, 'data'), '$.items')
┌────────────┐│ JSON value │└────────────┘SQL Syntax
Section titled “SQL Syntax”JSON_QUERY(<data>, '$.items')SQL Examples
Section titled “SQL Examples”SELECT JSON_QUERY(PARSE_JSON('{"items":[1,2,3]}'), '$.items');
┌─────────┐│ [1,2,3] │└─────────┘