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
関連するコンテンツ
- 質問済み 9ヶ月前
- AWS公式更新しました 3年前
- 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.