Get started
Load & manage data
Work with data
Administration
Reference & resources
CLUSTER BY
mask
ROW FILTER
Atualizado 20/11/2024
Send us feedback
map_concat
Applies to: Databricks SQL Databricks Runtime
Returns the union of all expr map expressions.
expr
map_concat([ expr1 [, ...] ])
exprN: A MAP expression. All exprN must share a least common type.
exprN
A MAP of the least common type of exprN.
If no argument is provided, an empty map. If there is a key collision an error is raised.
> SELECT map_concat(map(1, 'a', 2, 'b'), map(3, 'c')); {1 -> a, 2 -> b, 3 -> c}
map function
map_entries function
map_filter function
map_from_arrays function
map_from_entries function
map_keys function
map_values function
map_zip_with function
SQL data type rules