Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-14007

cqlshlib tests fail due to compact table

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 4.0
    • Component/s: Legacy/Testing
    • Labels:
      None
    • Severity:
      Normal

      Description

      The pylib/cqlshlib tests fail on initialization with the error SyntaxException: <Error from server: code=2000 [Syntax error in CQL query] message="Compact tables are not allowed in Cassandra starting with 4.0 version.">.

      The table dynamic_columns is created WITH COMPACT STORAGE. Since CASSANDRA-10857, this is no longer supported. It looks like dropping the COMPACT STORAGE modifier is enough for the tests to run, but I haven't looked if we should instead remove the table and all related tests entirely, or if there's an interesting code path covered by this that we should test in a different way now. Alex Petrov might know at a glance.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ifesdjeen Alex Petrov
                Reporter:
                jkni Joel Knighton
                Authors:
                Alex Petrov
                Reviewers:
                Robert Stupp
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: