abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Garman (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ABDERA-313) ColumnFamily recreated on ALTER TABLE from CQL3
Date Thu, 10 Jan 2013 18:40:13 GMT
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 |           {bilbo10inch@wankdb.com} |     bilbo |  baggins | [the shire, rivendell,
lonely mountain]
  frodo | {baggins@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

Mime
View raw message