MAP_CAT



Returns the concatenation of two MAPs.

Syntax

MAP_CAT( <map1>, <map2> )

Arguments

ArgumentsDescription
<map1>The source MAP.
<map2>The MAP to be appended to map1.

Return Type

Map.

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} │ └─────────────────────────────────────────────┘

Was this page helpful?