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 공식업데이트됨 2년 전
- AWS 공식업데이트됨 3년 전