How is the function create_partition_index called in Glue Jobs?

0

I would like to understand, how the function create_partition_index (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-tables.html#aws-glue-api-catalog-tables-CreatePartitionIndex) can be called within a Glue Job.

posta 2 anni fa376 visualizzazioni
2 Risposte
0
Risposta accettata

Taking Glue Version 3.0 solved my problem.

con risposta 2 anni fa
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

AWS
Don_D
con risposta 2 anni fa
AWS
ESPERTO
verificato 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande