Get started
Load & manage data
Work with data
Administration
Reference & resources
CLUSTER BY
mask
ROW FILTER
Atualizado 12/12/2024
Send us feedback
map_keys
Applies to: Databricks SQL Databricks Runtime
Returns an unordered array containing the keys of map.
map
map_keys(map)
map: A MAP expression.
An ARRAY where the element type matches the map key type.
> SELECT map_keys(map(1, 'a', 2, 'b')); [1,2]
[ ] (bracket sign) operator
map function
map_concat function
map_contains_key function
map_entries function
map_filter function
map_from_arrays function
map_from_entries function
map_values function
map_zip_with function