1 Answer
- Newest
- Most votes
- Most comments
0
Not really, you would need a distributed transactions coordination between nodes that neither Glue nor Spark support.
What you can do is instead of writing to the final table, write to a temporary table and once the write operation is complete issue a DB command (using JDBC or other library) to do the merge inside the DB in a transactional way.
Relevant content
- asked 9 months ago
- asked a year ago
- asked 9 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 9 months ago