mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-01 13:45:53 +00:00
Both Scylla and Cassandra support filtering on frozen UDTs, which are compared using lexicographical order. This patch adds a test to verify that the behavior here is the same - and indeed it is. For *non*-frozen UDTs, Cassandra does not allow filtering on them (this was decided in CASSANDRA-13247), but Scylla does. So we also add a test on how non-frozen UDTs work - that passes on Scylla (and of course not in Cassandra). The two tests here - for frozen and non-frozen UDTs - are identical (they just call the same function) - to ensure these two cases work the same. This is important because we can't judge the correctness of the non-frozen test by comparison to Cassandra - because it can't run there. Signed-off-by: Nadav Har'El <nyh@scylladb.com>