Get started
Load & manage data
Work with data
Administration
Reference & resources
CLUSTER BY
mask
ROW FILTER
Updated Nov 21, 2024
Send us feedback
map_entries
Applies to: Databricks SQL Databricks Runtime
Returns an unordered array of all entries in map.
map
map_entries(map)
map: A MAP expression.
An ARRAY of STRUCTs holding key-value pairs.
> SELECT map_entries(map(1, 'a', 2, 'b')); [{1, a}, {2, b}]
[ ] (bracket sign) operator
map function
map_concat function
map_from_entries function
map_filter function
map_from_arrays function
map_keys function
map_values function
map_zip_with function