1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
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
Contenuto pertinente
- AWS UFFICIALEAggiornata un anno fa
- AWS UFFICIALEAggiornata 2 anni fa
- AWS UFFICIALEAggiornata 3 anni fa
- AWS UFFICIALEAggiornata un anno fa