[
https://issues.apache.org/jira/browse/CASSANDRA-5192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Ellis resolved CASSANDRA-5192.
---------------------------------------
Resolution: Won't Fix
cql2 is around for compatibility only at this point.
> cql2 batch mode ignores keyspace qualification
> ----------------------------------------------
>
> Key: CASSANDRA-5192
> URL: https://issues.apache.org/jira/browse/CASSANDRA-5192
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.1.9
> Reporter: Mark Dewey
>
> How to reproduce: {noformat}
> cqlsh
> CREATE KEYSPACE demo WITH
> strategy_class = 'SimpleStrategy'
> AND strategy_options:replication_factor = '1';
> USE demo;
> CREATE COLUMNFAMILY users (
> KEY varchar PRIMARY KEY,
> password varchar,
> gender varchar,
> session_token varchar,
> state varchar,
> birth_year bigint);
> INSERT INTO users (KEY, password) VALUES ('jsmith', '0000000');
> CREATE KEYSPACE demo2 WITH
> strategy_class = 'SimpleStrategy'
> AND strategy_options:replication_factor = '1';
> USE demo2;
> CREATE COLUMNFAMILY users (
> KEY varchar PRIMARY KEY,
> password varchar,
> gender varchar,
> session_token varchar,
> state varchar,
> birth_year bigint);
> INSERT INTO users (KEY, password) VALUES ('jsmith', '0000000');
> use demo;
> begin batch
> insert into demo.users (KEY, password) VALUES ('jsmith', '1111111')
> insert into demo2.users (KEY, password) VALUES ('jsmith', '2222222')
> apply batch;
> select * from demo.users;
> select * from demo2.users;
> {noformat}
> Error:
> The entry in demo.users will be what we tried to set demo2.users to be. The
> entry in demo2.users will be its original value.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira