Andrew Garman created ABDERA-313:
------------------------------------
Summary: ColumnFamily recreated on ALTER TABLE from CQL3
Key: ABDERA-313
URL: https://issues.apache.org/jira/browse/ABDERA-313
Project: Abdera
Issue Type: Bug
Environment: MacOSX 10.8.2, Java 7u10, Cassandra 1.2.0 from brew
Reporter: Andrew Garman
CQL session:
===========================
cqlsh:demodb> SELECT * FROM users
userid | emails | firstname | lastname | locations
--------+------------------------------------+-----------+----------+-----------------------------------------
bilbo | {[email protected]} | bilbo | baggins | [the
shire, rivendell, lonely mountain]
frodo | {[email protected], [email protected]} | 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