MAP_KEYS (Lakehouse v2)
Renvoie toutes les clés d’un map sous forme de tableau.
Syntaxe Analyze
Section intitulée « Syntaxe Analyze »func.map_keys(get_column(table, 'map_col'))Exemples Analyze
Section intitulée « Exemples Analyze »func.map_keys(MAP{'a':1,'b':2})
┌───────────┐│ ['a','b'] │└───────────┘Syntaxe SQL
Section intitulée « Syntaxe SQL »MAP_KEYS(<map_col>)Exemples SQL
Section intitulée « Exemples SQL »SELECT MAP_KEYS(MAP{'a':1, 'b':2});
┌───────────┐│ ["a","b"] │└───────────┘