Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Invalid
-
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
- duplicates
-
CASSANDRA-6978 Table creation does not add all the columns until schema is updated again
- Resolved