1回答
- 新しい順
- 投票が多い順
- コメントが多い順
0
GlueContext.extract_jdbc_conf method might help your use-case.
With this method, you can retrieve JDBC parameters from your existing Glue connections.
jdbc_conf = glue_context.extract_jdbc_conf(connection_name='<Glue connection name>')
user = jdbc_conf['user']
password = jdbc_conf['password']
See details here.
https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-crawler-pyspark-extensions-glue-context.html
回答済み 4年前