MAP_KEYS (Lakehouse v1)
Renvoie les clés d’un map.
Syntaxe SQL
Section intitulée « Syntaxe SQL »MAP_KEYS( <map> )Arguments
Section intitulée « Arguments »| Arguments | Description |
|---|---|
<map> |
Le map en entrée. |
Type de retour
Section intitulée « Type de retour »Array.
Exemples SQL
Section intitulée « Exemples SQL »SELECT MAP_KEYS({'a':1,'b':2,'c':3});
┌───────────────────────────────┐│ map_keys({'a':1,'b':2,'c':3}) │├───────────────────────────────┤│ ['a','b','c'] │└───────────────────────────────┘