Skip to content
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

DynamoDB: transact_write_items() should validate set clauses, not actions #7828

Merged

Conversation

bblommers
Copy link
Collaborator

Fixes #7817

SET action1, action2 is allowed. SET action1 SET action2 is not allowed.

So when validating this, we need to count the number of clauses (SET statements) - not the number of actions ([action1, action2]).

@bblommers bblommers added this to the 5.0.11 milestone Jul 7, 2024
@bblommers bblommers merged commit 5934567 into getmoto:master Jul 7, 2024
39 of 40 checks passed
@bblommers bblommers deleted the dynamodb-set-clauses-not-actions branch July 7, 2024 10:09
Copy link
Contributor

github-actions bot commented Jul 7, 2024

This is now part of moto >= 5.0.11.dev17

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 transact write items errors for Update expression multiple set action
1 participant