[ 
https://issues.apache.org/jira/browse/CASSANDRA-8353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aleksey Yeschenko resolved CASSANDRA-8353.
------------------------------------------
    Resolution: Duplicate

> Prepared statement doesn't revalidate after table schema changes
> ----------------------------------------------------------------
>
>                 Key: CASSANDRA-8353
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8353
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: Cassandra 2.1.2
>            Reporter: MichaƂ Jaszczyk
>
> Having simple table:
> {code}
> CREATE TABLE test1 (
>   key TEXT,
>   value TEXT,
>   PRIMARY KEY (key)
> );
> {code}
> I prepare following statement:
> {code}
> SELECT * FROM test1;
> {code}
> I run queries based on the statement which returns expected results.
> Then I update schema definition like this:
> {code}
> ALTER TABLE test1 ADD value2 TEXT;
> {code}
> 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
(v6.3.4#6332)

Reply via email to