JSON_EACH (Lakehouse v2)
Expands the top-level JSON object into a set of key-value pairs.
Analyze Syntax
Section titled “Analyze Syntax”func.json_each(get_column(table, 'data'))Analyze Examples
Section titled “Analyze Examples”func.json_each(get_column(table, 'data'))SQL Syntax
Section titled “SQL Syntax”JSON_EACH(<data>)SQL Examples
Section titled “SQL Examples”SELECT * FROM TABLE(JSON_EACH(PARSE_JSON('{"a":1,"b":2}')));
┌─────┬───────┐│ key │ value │├─────┼───────┤│ a │ 1 ││ b │ 2 │└─────┴───────┘