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