- 最新
- 投票最多
- 评论最多
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.
相关内容
- AWS 官方已更新 2 年前
- AWS 官方已更新 3 年前
- AWS 官方已更新 2 年前