[ 
https://issues.apache.org/jira/browse/CASSANDRA-5224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13571876#comment-13571876
 ] 

Aleksey Yeschenko commented on CASSANDRA-5224:
----------------------------------------------

Oh I won't argue that it's somewhat confusing. DESCRIBE TABLE will *NOT* output 
WITH COMPACT STORAGE only for sparse composite cfs. Read CFDefinition 
constructor code if you are interested in the details (and/or 
pylib/cqlshlib/cql3handling.py lines 1466:1478 for my take on it).
                
> alter table add in CQL3 allows adding columns to COMPACT STORAGE tables
> -----------------------------------------------------------------------
>
>                 Key: CASSANDRA-5224
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5224
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.2.1
>            Reporter: Michael Kjellman
>            Assignee: Aleksey Yeschenko
>            Priority: Minor
>             Fix For: 1.2.2
>
>
> From the docs:
> These additions to a table are not allowed:
> Adding a column having the same name as an existing column.
> Adding columns to tables defined with COMPACT STORAGE.
> however, this still works against a domain defined with COMPACT STORAGE in 
> cqlsh
> it appears that the metadata, however, is not defined correctly.

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