MAP_CAT (Lakehouse v1)
Returns the concatenatation of two MAPs.
SQL Syntax
Section titled “SQL Syntax”MAP_CAT( <map1>, <map2> )Arguments
Section titled “Arguments”| Arguments | Description |
|---|---|
<map1> | The source MAP. |
<map2> | The MAP to be appended to map1. |
Return Type
Section titled “Return Type”Map.
SQL Examples
Section titled “SQL Examples”SELECT MAP_CAT({'a':1,'b':2,'c':3}, {'c':5,'d':6});┌─────────────────────────────────────────────┐│ map_cat({'a':1,'b':2,'c':3}, {'c':5,'d':6}) │├─────────────────────────────────────────────┤│ {'a':1,'b':2,'c':5,'d':6} │└─────────────────────────────────────────────┘