MAP_SIZE

functionsupportedCore SQL functions

docs.snowflake.com ↗

Semi-structured and structured data functions

Returns the size of a MAP.

Syntax

MAP_SIZE( <map> )

Parameters

NameRequiredDescription
maprequiredThe input map.

Returns

Returns the number of entries in the map.