Skip to content

DynamoDB Enhanced: impossible to retrieve unprocessed items from Batc… #1832

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

denyskonakhevych
Copy link

@denyskonakhevych denyskonakhevych commented May 13, 2020

Currently BatchWriteResult requires DynamoDbTable to retrieve unprocessed put or delete items.
So there is no way to retrieve this data with DynamoDbAsyncTable.

Description

As a solution, instead of DynamoDbTable methods can accept MappedTableResource, just like it do for BatchGetResultPage::resultsForTable

Motivation and Context

Related issue: #1831

Possible Solution

As a solution, instead of DynamoDbTable methods can accept MappedTableResource, just like it do for BatchGetResultPage::resultsForTable

Types of changes

  • [x ] Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Checklist

  • [ x] I have read the CONTRIBUTING document
  • [ x] Local run of mvn install succeeds
  • [ x] My code follows the code style of this project
  • [x ] My change requires a change to the Javadoc documentation
  • [x ] I have updated the Javadoc documentation accordingly
  • [ x] I have read the README document
  • I have added tests to cover my changes
  • [ x] All new and existing tests passed
  • [ x] A short description of the change has been added to the CHANGELOG
  • My change is to implement 1.11 parity feature and I have updated LaunchChangelog

License

  • [ x] I confirm that this pull request can be released under the Apache 2 license

…hWriteResult when using async client (1831)
@bmaizels bmaizels self-requested a review May 14, 2020 18:16
@bmaizels
Copy link
Contributor

bmaizels commented May 14, 2020

@dkonakhevych Changes look good. Thank you for catching this. Could you squash your commits into a single commit, and then I'd be happy to merge it for you.

adamthom-amzn and others added 7 commits May 14, 2020 22:04
Two shapes can have the same C2J name but different intermediate model names.  This seems to work fine for request types, but not response types, where the lookups were done by C2J name only.
Event stream type header values are generated from the member name in the event stream structure, not the structure name of the event itself.  When the member name and the event type mismatch, then unmarshalling of events sent from the service fails.

From the spec: `:event-type: This header’s value, a UTF-8 string, is derived from the event’s member name in the eventstream structure`
…sterSnapshot and CreateDBClusterPresignInterceptor when SourceRegion is specified.
@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

68.0% 68.0% Coverage
0.0% 0.0% Duplication

@denyskonakhevych
Copy link
Author

@bmaizels Sorry, I messed up with squashing.
I created new PR with same changes in one commit instead:
#1839

Sorry for inconvenience

@bmaizels
Copy link
Contributor

@denyskonakhevych No worries, we've all been there. The trick is to get it squashed in your local repo then do a force push. I'll switch over to the other PR.

aws-sdk-java-automation added a commit that referenced this pull request Nov 10, 2021
…ed3fad9c5

Pull request: release <- staging/3584f3ce-f2aa-4660-b709-48ced3fad9c5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DynamoDB Enhanced: impossible to retrieve unprocessed items from BatchWriteResult when using async client
6 participants