1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
Hi There
Upsert is available for Redshift targets not MySQL
You will need to have custom logic to do other operations besides Inserts. Check out this article for one way of doing updates on MySQL using pymysql. https://awstip.com/aws-etl-glue-job-insert-update-support-7a396db832b
Contenus pertinents
- demandé il y a un an
- demandé il y a 2 mois
- AWS OFFICIELA mis à jour il y a 7 mois
- AWS OFFICIELA mis à jour il y a 3 ans
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 3 ans
I tried the solution proposed in the article. However, it looks like the job is timing out on below line - connection = glue_client.get_connection(Name="<My Connection>")
I do not see any exception in the logs.
The same connection worked when I used it in another job for insert-only, created from Visual editor. Also, test connection works fine.