MAP_KEYS (Lakehouse v2)
Retorna todas as chaves de um mapa como um array.
Sintaxe do Analyze
Seção intitulada “Sintaxe do Analyze”func.map_keys(get_column(table, 'map_col'))Exemplos do Analyze
Seção intitulada “Exemplos do Analyze”func.map_keys(MAP{'a':1,'b':2})
┌───────────┐│ ['a','b'] │└───────────┘Sintaxe SQL
Seção intitulada “Sintaxe SQL”MAP_KEYS(<map_col>)Exemplos de SQL
Seção intitulada “Exemplos de SQL”SELECT MAP_KEYS(MAP{'a':1, 'b':2});
┌───────────┐│ ["a","b"] │└───────────┘