JSON_ARRAY (Lakehouse v2)
Creates a JSON array from a list of values.
Analyze Syntax
Section titled “Analyze Syntax”func.json_array(1, 'hello', None)Analyze Examples
Section titled “Analyze Examples”func.json_array(1, 'hello', None)
┌──────────────────┐│ [1,"hello",null] │└──────────────────┘SQL Syntax
Section titled “SQL Syntax”JSON_ARRAY(1, 'hello', None)SQL Examples
Section titled “SQL Examples”SELECT JSON_ARRAY(1, 'hello', NULL);
┌──────────────────┐│ [1,"hello",null] │└──────────────────┘