cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michał Jaszczyk (JIRA) <>
Subject [jira] [Created] (CASSANDRA-8353) Prepared statement doesn't revalidate after table schema changes
Date Fri, 21 Nov 2014 10:45:33 GMT
Michał Jaszczyk created CASSANDRA-8353:

             Summary: Prepared statement doesn't revalidate after table schema changes
                 Key: CASSANDRA-8353
             Project: Cassandra
          Issue Type: Bug
         Environment: Cassandra 2.1.2
            Reporter: Michał Jaszczyk

Having simple table:
  key TEXT,
  value TEXT,
I prepare following statement:
SELECT * FROM test1;
I run queries based on the statement which returns expected results.
Then I update schema definition like this:
ALTER TABLE test1 ADD value2 TEXT;
I populate the "value2" values and use the same statement again. The results returned by the
same query don't include "value2". I'm sure it is not cached in the driver/application because
I was starting new process after changing schema.

It looks to me like a bug. Please correct me if it works like this on purpose.

I'm using ruby cql driver but I believe it is not related.

This message was sent by Atlassian JIRA

View raw message