map_values
Returns an array of all the values in the specified map.
This function is supported from v2.5.
Syntaxβ
map_values(any_map)
Parametersβ
any_map: the MAP value from which you want to retrieve values.
Return valueβ
The return value is in the format of array<valueType>. The element type in the array matches the value type in the map.
If the input is NULL, NULL is returned. If a key or value in the MAP value is NULL, NULL is processed as a normal value and contained in the result.