2개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
You would utilize the boto3 python module and make the API call with the required parameters. See here for reference: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/glue.html#Glue.Client.create_partition_index
답변함 2년 전
Thanks for your answer. I already tried to create a client at the end of my Glue job with
client = boto3.client('glue')
, but this object then does not offer a functionclient.create_partition_index
(although it has a sublist of the function from the page you linked).You can use the latest version of boto3 by adding it as a module. https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-libraries.html