You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding segment, totalSegments parameters in dynamodb-enhanced client to support parallel scan (#2614)
* Adding segment,totalSegments parameters in dynamodb-enhanced client to support parallel scan
Note: DynamoDB local does not support parallel scan. So, this change was tested manually using integration test.
* Fix documentation for totalSegment field.
Co-authored-by: Matthew Miller <[email protected]>
"description": "Allow parallel scan via DynamoDBEnhanced client and modify ScanEnhancedRequest to support totalSegments and segment parameters.\nThe corresponding github issue is https://github.com/aws/aws-sdk-java-v2/issues/1851"
Copy file name to clipboardExpand all lines: services-custom/dynamodb-enhanced/src/main/java/software/amazon/awssdk/enhanced/dynamodb/internal/operations/ScanOperation.java
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -72,6 +72,8 @@ public ScanRequest generateRequest(TableSchema<T> tableSchema,
Copy file name to clipboardExpand all lines: services-custom/dynamodb-enhanced/src/main/java/software/amazon/awssdk/enhanced/dynamodb/model/ScanEnhancedRequest.java
+67Lines changed: 67 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -44,10 +44,14 @@ public final class ScanEnhancedRequest {
Copy file name to clipboardExpand all lines: services-custom/dynamodb-enhanced/src/test/java/software/amazon/awssdk/enhanced/dynamodb/internal/operations/ScanOperationTest.java
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -141,6 +141,21 @@ public void generateRequest_limit() {
Copy file name to clipboardExpand all lines: services-custom/dynamodb-enhanced/src/test/java/software/amazon/awssdk/enhanced/dynamodb/model/ScanEnhancedRequestTest.java
0 commit comments