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: Skip primary key columns in SET clause for UPDATE statements #17

Merged
merged 1 commit into from
Aug 16, 2024

Conversation

hammerhead
Copy link
Member

CrateDB does not allow changing primary key columns, even when setting them to their current value.

This probably applies to other transformers as well (DMS and MongoDB).

…ements

CrateDB does not allow changing primary key columns,
even when setting them to their current value.
Copy link

codecov bot commented Aug 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (4fdde50) to head (fba7538).
Report is 1 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main       #17      +/-   ##
===========================================
+ Coverage   99.13%   100.00%   +0.86%     
===========================================
  Files          21        21              
  Lines         805       815      +10     
===========================================
+ Hits          798       815      +17     
+ Misses          7         0       -7     
Flag Coverage Δ
mongodb 100.00% <100.00%> (ø)
vanilla 100.00% <100.00%> (ø)
zyp 100.00% <100.00%> (+1.07%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@amotl amotl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much. If you have the immediate needs to also fix the other transformers, feel free to add your improvements, and run the review and release processes on your behalves.

Otherwise, if you encounter any problems or want me to do it, please submit a ping about it to one of my contact points.

/cc @hammerhead, @hlcianfagna, @wierdvanderhaar

@amotl amotl merged commit 74d1738 into crate:main Aug 16, 2024
16 checks passed
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.

2 participants