1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
You will not get a DuplicateItemException
when you write an item which already exists, instead DynamoDB will just overwrite the existing item as this is how DynamoDB works.
Where you could receive a DuplicateItemException
is when Glue creates a batch of 25 items to do its BatchWriteItem
(which happens under the hood) and in that batch of 25, 2 or more items have the same key.
Unfortunately with Glue you cannot do a conditional write, as it uses BatchWriteItem
and its not supported.
Contenus pertinents
- demandé il y a un an
- demandé il y a 2 ans
- demandé il y a un an
- Réponse acceptéedemandé il y a 2 ans
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 2 ans