1 Resposta
- Mais recentes
- Mais votos
- Mais comentários
0
Hello,
Generally, the last columns are the partitions.So, you can try get schema and then convert to list and read last n columns which are partitions.
As a solution other than in PySpark you can do get table API call and get the partitions and use them in code.
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/glue/get-table.html#output
Conteúdo relevante
- AWS OFICIALAtualizada há 3 anos
- AWS OFICIALAtualizada há 2 anos
- AWS OFICIALAtualizada há 2 anos