Closed stephen-christie-ss closed 6 days ago
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
Hi @stephen-christie-ss, welcome to Moto! Marking it as an enhancement to implement this feature.
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