Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: Databricks SQL
Databricks Runtime
Returns an unordered array containing the values of map
.
map_values(map)
map
: A MAP expression.
An ARRAY where the element type matches the map
value type.
> SELECT map_values(map(1, 'a', 2, 'b'));
[a,b]