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 Answer
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
EXPERT
answered 5 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions