MAP_SIZE (Lakehouse v1)
Renvoie la taille d’un MAP.
Syntaxe SQL
Section intitulée « Syntaxe SQL »MAP_SIZE( <map> )Arguments
Section intitulée « Arguments »| Arguments | Description |
|---|---|
<map> |
Le map en entrée. |
Type de retour
Section intitulée « Type de retour »UInt64.
Exemples SQL
Section intitulée « Exemples SQL »SELECT MAP_SIZE({'a':1,'b':2,'c':3});
┌───────────────────────────────┐│ map_size({'a':1,'b':2,'c':3}) │├───────────────────────────────┤│ 3 │└───────────────────────────────┘