Can upserts be performed from one Aurora Postgres database to another via Glue?

0

I am trying to set up a Glue Job that automatically crawls a source Aurora RDS Postgres instance and writes it another instance in a different cluster. I was able to perform an initial copy/load via the Glue Catalog. The Visual ETL job was pretty easily able to load from the source instance's catalog to the target instance's catalog and consequently into the target RDS instance itself. However, this was a straight copy... and I am wondering if there is a way to incorporate upsert logic into this ?

Thank you

1 個回答
0

Normally that's done writing into a temporary table and then asking the DB to do an UPSERT/MERGE issuing that command separately.
In the case of a visual job, it would involve a custom code component that does that.

profile pictureAWS
專家
已回答 6 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南