moto icon indicating copy to clipboard operation
moto copied to clipboard

DynamoDB Scan does not support segments

Open stephen-christie-ss opened this issue 1 year ago • 1 comments

I am making a Lambda which splits a scan into multiple segments for "threaded" processing, and hoped to test the logic with Moto before trying it for real. It seems that Moto doesn't understand the concept, however.

AWS documentation: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Scan.html#Scan.ParallelScan

Moto implementation: https://github.com/getmoto/moto/blob/12cd1868b5e725b8201714f30d5ddfd0324fd141/moto/dynamodb/responses.py#L833

stephen-christie-ss avatar Sep 27 '24 19:09 stephen-christie-ss

Hi @stephen-christie-ss, welcome to Moto! Marking it as an enhancement to implement this feature.

bblommers avatar Sep 28 '24 10:09 bblommers