JSON_REMOVE (Lakehouse v2)
Removes an element from a JSON document at a specified path.
Analyze Syntax
Section titled “Analyze Syntax”func.json_remove(get_column(table, 'data'), '$.temp')Analyze Examples
Section titled “Analyze Examples”func.json_remove(get_column(table, 'data'), '$.temp')
┌──────────────────────┐│ JSON without element │└──────────────────────┘SQL Syntax
Section titled “SQL Syntax”JSON_REMOVE(<data>, '$.temp')SQL Examples
Section titled “SQL Examples”SELECT JSON_REMOVE(PARSE_JSON('{"name":"Alice","temp":1}'), '$.temp');
┌──────────────────┐│ {"name":"Alice"} │└──────────────────┘