mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-23 16:22:15 +00:00
It turns out that Cassandra does not allow IN restrictions together with filtering, except, curiously, when the restriction is on a clustering key. There is no real reason for this limitation - the error message even says it is not *yet* supported. Scylla, on the other hand, does support this case. Of course it's not enough that we support it - we need to support it correctly... But we don't have a full regression test that this support is correct - in filtering_test.cc we test it with clustering and regular columns - but not partition key columns. So this patch adds a simple cql-pytest test that this sort of filtering works in Scylla correctly for partition, clustering and regular columns (and also confirms that these cases don't work, yet, on Cassandra). Signed-off-by: Nadav Har'El <nyh@scylladb.com> Message-Id: <20220420075553.1008062-1-nyh@scylladb.com>