1 個回答
- 最新
- 最多得票
- 最多評論
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
相關內容
- AWS 官方已更新 1 年前
- AWS 官方已更新 3 年前
- AWS 官方已更新 3 個月前
- AWS 官方已更新 1 年前
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.