Files
scylladb/test/cql-pytest/cassandra_tests
Nadav Har'El 6fb762630b cql-pytest: translate Cassandra's tests for SELECT operations
This is a translation of Cassandra's CQL unit test source file
    validation/operations/SelectTest.java into our our cql-pytest framework.

    This large test file includes 78 tests for various types of SELECT
    operations. Four additional tests require UDF in Java syntax,
    and were skipped.

    All 78 tests pass on Cassandra. 25 of the tests fail on Scylla
    reproducing 3 already known Scylla issues and 8 previously-unknown
    issues:

    Previously known issues:

      Refs #2962:  Collection column indexing
      Refs #4244:  Add support for mixing token, multi- and single-column
                   restrictions
      Refs #8627:  Cleanly reject updates with indexed values where
                   value > 64k

    Newly-discovered issues:

      Refs #10354: SELECT DISTINCT should allow filter on static columns,
                   not just partition keys
      Refs #10357: Spurious static row returned from query with filtering,
                   despite not matching filter
      Refs #10358: Comparison with UNSET_VALUE should produce an error
      Refs #10359: "CONTAINS NULL" and "CONTAINS KEY NULL" restrictions
                   should match nothing
      Refs #10361: Null or UNSET_VALUE subscript should generate an
                   invalid request error
      Refs #10366: Enforce Key-length limits during SELECT
      Refs #10443: SELECT with IN and ORDER BY orders rows per partition
                   instead of for the entire response
      Refs #10448: The CQL token() function should validate its parameters

Signed-off-by: Nadav Har'El <nyh@scylladb.com>

Closes #10449
2022-05-03 11:45:05 +03:00
..

All tests in this directory and its subdirectories were translated from
Apache Cassandra's unit tests - the test/unit/org/apache/cassandra/cql3
directory in the Apache Cassandra source code repository.

The organization of this directory mirrors that of the Cassandra directory,
with test files renamed from SomeThingTest.java to some_thing_test.py.

Individual files were translated in their entirety, and each individual
file includes a comment on which version of the file was translated
(Cassandra's tests continue to evolve, so we may later want to catch up
with the differences).

Please avoid adding new tests, not translated from Cassandra, in this
directory. Instead, place new tests written from scratch for Scylla,
or improved tests, in the directory above.