mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-03 05:26:58 +00:00
This patch adds two simple tests for what happens when a user tries to insert a row with one of the key column missing. The first tests confirms that if the column is completely missing, we correctly print an error (this was issue #3665, that was already marked fixed). However, the second test demonstrates that we still have a bug when the key column appears on the command, but with a null value. In this case, instead of failing the insert (as Cassandra does), we silently ignore it. This is the proper behavior for UNSET_VALUE, but not for null. So the second test is marked xfail, and I opened issue #7852 about it. Refs #3665 Refs #7852 Signed-off-by: Nadav Har'El <nyh@scylladb.com> Message-Id: <20201230132350.3463906-1-nyh@scylladb.com>