[
https://issues.apache.org/jira/browse/CASSANDRA-5224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13571846#comment-13571846
]
Aleksey Yeschenko commented on CASSANDRA-5224:
----------------------------------------------
bq. it appears that the metadata, however, is not defined correctly.
Can you elaborate?
As for adding a column - not all tables defined with COMPACT STORAGE are in
fact 'compact' as far as CFDefinition is concerned. It's allowed to add columns
to pre-cql3 'static' cfs, even though you have to defined them with COMPACT
STORAGE in cql3 (won't use a composite comparator under the hood).
> 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