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

Regression in QueryPagerTest.SliceQueryWithTombstoneTest

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Invalid
    • 2.1 beta2
    • None
    • None
    • Normal

    Description

      I've noticed that QueryPagerTest.SliceQueryWithTombstoneTest fails
      http://cassci.datastax.com/job/cassandra-2.1_test/lastCompletedBuild/testReport/org.apache.cassandra.service/QueryPagerTest/SliceQueryWithTombstoneTest/history/

      That started with the build: http://cassci.datastax.com/job/cassandra-2.1/177/

      java.lang.RuntimeException: Error validating INSERT INTO cql_keyspace.table2 (k, c, v) VALUES ('k0', 'c0', null)
      	at org.apache.cassandra.cql3.QueryProcessor.processInternal(QueryProcessor.java:212)
      	at org.apache.cassandra.service.QueryPagerTest.SliceQueryWithTombstoneTest(QueryPagerTest.java:344)
      Caused by: org.apache.cassandra.exceptions.InvalidRequestException: Unknown identifier v
      	at org.apache.cassandra.cql3.statements.UpdateStatement$ParsedInsert.prepareInternal(UpdateStatement.java:140)
      	at org.apache.cassandra.cql3.statements.ModificationStatement$Parsed.prepare(ModificationStatement.java:713)
      	at org.apache.cassandra.cql3.statements.ModificationStatement$Parsed.prepare(ModificationStatement.java:702)
      	at org.apache.cassandra.cql3.QueryProcessor.getStatement(QueryProcessor.java:331)
      	at org.apache.cassandra.cql3.QueryProcessor.processInternal(QueryProcessor.java:198)
      

      For some reason Cassandra doesn't recognize the column v, even though the schema for the table is:

      Schemaloader.java
      CFMetaData.compile("CREATE TABLE table2 ("
                                                                    + "k text,"
                                                                    + "c text,"
                                                                    + "v text,"
                                                                    + "PRIMARY KEY (k, c))", ks_cql)
                                                 ));
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mishail Mikhail Stepura
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: