[ https://issues.apache.org/jira/browse/CASSANDRA-5142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-5142: -------------------------------------- Assignee: Tyler Patterson Tyler, can you verify against 1.2 branch? > ColumnFamily recreated on ALTER TABLE from CQL3 > ----------------------------------------------- > > Key: CASSANDRA-5142 > URL: https://issues.apache.org/jira/browse/CASSANDRA-5142 > Project: Cassandra > Issue Type: Bug > Environment: MacOSX 10.8.2, Java 7u10, Cassandra 1.2.0 from brew > Reporter: Andrew Garman > Assignee: Tyler Patterson > > CQL session: > =========================== > cqlsh:demodb> SELECT * FROM users > userid | emails | firstname | lastname | > locations > --------+------------------------------------+-----------+----------+----------------------------------------- > bilbo | {bilbo10i...@wankdb.com} | bilbo | baggins | [the > shire, rivendell, lonely mountain] > frodo | {bagg...@gmail.com, f...@baggins.com} | Frodo | Baggins | > [the shire, rivendell, rohan, mordor] > cqlsh:demodb> ALTER TABLE users ADD todo map <timestamp, reminder_text>; > Bad Request: Failed parsing statement: [ALTER TABLE users ADD todo map > <timestamp, reminder_text>;] reason: NullPointerException null > cqlsh:demodb> ALTER TABLE users ADD todo map <timestamp, text>; > cqlsh:demodb> UPDATE users > ... SET todo = { '2012-9-24' : 'enter mordor', > ... '2012-10-2 12:00' : 'throw ring into mount doom' } > ... WHERE userid = 'frodo'; > cqlsh:demodb> SELECT * FROM users > ... ; > userid | emails | firstname | lastname | locations | todo > --------+--------+-----------+----------+-----------+------------------------------------------------------------------------------------------------ > frodo | null | null | null | null | {2012-09-24 > 00:00:00-0400: enter mordor, 2012-10-02 12:00:00-0400: throw ring into mount > doom} > ====================== > So at this point, where's my 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