mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-05 06:23:03 +00:00
The "ADD" operator in UpdateItem's AttributeUpdates supports a number of types (numbers, sets and strings), should result in a ValidationException if the attribute's existing type is different from the type of the operand - e.g., trying to ADD a number to an attribute which has a set as a value. So far we only had partial testing for this (we tested the case where both operands are sets, but of different types) so this patch adds the missing tests. The new tests pass (on both Alternator and DynamoDB) - we don't have a bug there. Signed-off-by: Nadav Har'El <nyh@scylladb.com> Message-Id: <20211213195023.1415248-1-nyh@scylladb.com>