1 個回答
- 最新
- 最多得票
- 最多評論
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
相關內容
- AWS 官方已更新 3 年前
- AWS 官方已更新 1 年前