Skip to content

Commit

Permalink
cql-pytest: translate Cassandra's tests for SELECT with LIMIT
Browse files Browse the repository at this point in the history
This is a translation of Cassandra's CQL unit test source file
validation/operations/SelectLimitTest.java into our cql-pytest framework.

The tests reproduce two already-known bugs:

Refs scylladb#9879:  Using PER PARTITION LIMIT with aggregate functions should
             fail as Invalid query
Refs scylladb#10357: Spurious static row returned from query with filtering,
             despite not matching filter

And also helped discover two new issues:

Refs scylladb#15099: Incorrect sort order when combining IN, and ORDER BY
Refs scylladb#15109: PER PARTITION LIMIT should be rejected if SELECT DISTINCT
             is used

Signed-off-by: Nadav Har'El <nyh@scylladb.com>
  • Loading branch information
nyh committed Aug 21, 2023
1 parent a4e7f9b commit f0c6db4
Showing 1 changed file with 532 additions and 0 deletions.

0 comments on commit f0c6db4

Please sign in to comment.