MAP_SIZE



Returns the size of a MAP.

Syntax

MAP_SIZE( <map> )

Arguments

ArgumentsDescription
<map>The input map.

Return Type

UInt64.

Examples

SELECT MAP_SIZE({'a':1,'b':2,'c':3}); ┌───────────────────────────────┐ │ map_size({'a':1,'b':2,'c':3}) │ ├───────────────────────────────┤ │ 3 │ └───────────────────────────────┘

Was this page helpful?