mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-01 13:45:53 +00:00
As noted by test_filtering.py::test_multiple_restrictions_on_same_column Cassandra WHERE does not allow specifying two restrictions on the the same column, but Scylla does allow it, and this test verifies that the results are correct (conflicting restrictions would lead to no results, but overlapping restrictions can return some results). In this patch we add yet another example of multiple restrictions on the same column that was seen in a Cassandra unit test - this time one of the restrictions involves a IN. These patch helps confirm that the expression evaluation is done correct (and, again, differently from Cassandra - Cassandra results in an error in this case). Signed-off-by: Nadav Har'El <nyh@scylladb.com>