crate / commons-codec

Data decoding, encoding, conversion, and translation utilities.
https://commons-codec.readthedocs.io
GNU Lesser General Public License v3.0
2 stars 2 forks source link

DynamoDB: Skip primary key columns in `SET` clause for `UPDATE` statements #17

Closed hammerhead closed 2 months ago

hammerhead commented 2 months ago

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).

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

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

Additional details and impacted files ```diff @@ 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](https://app.codecov.io/gh/daq-tools/commons-codec/pull/17/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=daq-tools) | Coverage Δ | | |---|---|---| | [mongodb](https://app.codecov.io/gh/daq-tools/commons-codec/pull/17/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=daq-tools) | `100.00% <100.00%> (ø)` | | | [vanilla](https://app.codecov.io/gh/daq-tools/commons-codec/pull/17/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=daq-tools) | `100.00% <100.00%> (ø)` | | | [zyp](https://app.codecov.io/gh/daq-tools/commons-codec/pull/17/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=daq-tools) | `100.00% <100.00%> (+1.07%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=daq-tools#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.