Vasily V.D. created CASSANDRA-5232:
--------------------------------------

             Summary: ALTER TABLE ADD - data loss
                 Key: CASSANDRA-5232
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5232
             Project: Cassandra
          Issue Type: Bug
    Affects Versions: 1.2.1
            Reporter: Vasily V.D.


cqlsh:Test> CREATE TABLE t1 (id int PRIMARY KEY, t text);
cqlsh:Test> UPDATE t1 SET t = '111' WHERE id = 1;
cqlsh:Test> ALTER TABLE t1 ADD l list<text>;
cqlsh:Test> SELECT * FROM t1;

 id | l    | t
----+------+-----
  1 | null | 111

cqlsh:Test> ALTER TABLE t1 ADD m map<int, text>;
cqlsh:Test> SELECT * FROM t1;
cqlsh:Test>

Last query doesn't return any data.


--
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

Reply via email to