2개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
Hi,
Do you use some code like this one?
import sys
from awsglue.utils import getResolvedOptions
args = getResolvedOptions(sys.argv,
['JOB_NAME',
'day_partition_key',
'hour_partition_key',
'day_partition_value',
'hour_partition_value'])
print "The day-partition key is: ", args['day_partition_key']
print "and the day-partition value is: ", args['day_partition_value']
In that case, try each of your 8 parameters until you find the incorrect one.
For more details, see https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-crawler-pyspark-extensions-get-resolved-options.html
Best,
Didier
관련 콘텐츠
- AWS 공식업데이트됨 8달 전
- AWS 공식업데이트됨 2년 전
- AWS 공식업데이트됨 2년 전