Skip to content

Upserting records to s3: .s3.merge_upsert_table vs overwrite partition parameter in s3 write functions #635

Answered by jaidisido
AdrianoNicolucci asked this question in Q&A
Discussion options

You must be logged in to vote

Thank you for discussing this. The current s3.merge_upsert_table method is very naive and lacks numerous features. As you have pointed out in your raised issues, loading the entire table into a data frame is inefficient and the method does not support partitioning.

I have already covered this in this issue but to summarise once more:

  • AWS Glue Governed Tables is a new feature (currently in preview) which allows multiple users to concurrently insert, delete, and modify rows across tables within ACID transactions
  • We are currently working on a PR to integrate it as soon as it's available
  • You can find examples of what it will allow you to do here. But it should cover all of the elements that …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@AdrianoNicolucci
Comment options

Answer selected by jaidisido
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants