Skip to main content

MAP_VALUES

Introduced or updated: v1.2.429

Returns the values in a map.

Syntax

MAP_VALUES( <map> )

Arguments

ArgumentsDescription
<map>The input map.

Return Type

Array.

Examples

SELECT MAP_VALUES({'a':1,'b':2,'c':3});

┌─────────────────────────────────┐
│ map_values({'a':1,'b':2,'c':3})
├─────────────────────────────────┤
[1,2,3]
└─────────────────────────────────┘
Explore Databend Cloud for FREE
Low-cost
Fast Analytics
Easy Data Ingestion
Elastic Scaling
Try it today