- Le plus récent
- Le plus de votes
- La plupart des commentaires
Unfortunately no. You have to get a list of the items and then iterate through them or do them in multiple bulk calls.
I was sad to hear that the API has limited support to Rick Houligan's modeling instructions
Hi,
Unfortunately, there is no DynamoDB API yet to delete the items in bulk.
WORKAROUND:
As a workaround, you can make use of Hive external table and then perform SQL like queries on DynamoDB table to acheive your use-case.
Sample Hive query to create external table on DynamoDB:
CREATE EXTERNAL TABLE MyExternalTable
(Name STRING, Epoch BIGINT)
STORED BY 'org.apache.hadoop.hive.dynamodb.DynamoDBStorageHandler'
TBLPROPERTIES (
"dynamodb.table.name" = "DDBTable",
"dynamodb.column.mapping" = "Name:Name,Epoch:Epoch"
);
Hope it helps. Please let us know if you face any further issues. We would be happy to help you.
Contenus pertinents
- demandé il y a un an
- demandé il y a 5 mois
- demandé il y a 20 jours
- AWS OFFICIELA mis à jour il y a 3 ans
- AWS OFFICIELA mis à jour il y a 9 mois
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 5 mois