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 官方已更新 3 年前
- AWS 官方已更新 3 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 3 个月前
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.