Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
Applies to:
Databricks SQL
Databricks Runtime
Returns an unordered array containing the values of map.
Syntax
map_values(map)
Arguments
map: A MAP expression.
Returns
An ARRAY where the element type matches the map value type.
Examples
> SELECT map_values(map(1, 'a', 2, 'b'));
[a,b]