1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
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
beantwortet vor 4 Jahren
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor einem Jahr
- AWS OFFICIALAktualisiert vor 5 Jahren