- Newest
- Most votes
- Most comments
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.
Relevant content
- asked a year ago
- asked 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 9 months ago