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

Sylvain Lebresne commented on CASSANDRA-4041:
---------------------------------------------

There is 2 things we can support here:
# Allow to modify the type of a given component of the comparator (say change 
UTF8Type to BytesType). For that, we'll probably just want to reuse the 'ALTER 
TABLE foo ALTER x TYPE blob' syntax.
# Allow adding more components to the composite comparator. Not sure what is 
the best syntax for that but I would suggest something like 'ALTER TABLE foo 
EXTEND PRIMARY KEY WITH x int' to express we are really modifying the existing 
definition rather than setting a new one. That being said, given that this part 
will work only for compact composite table definition, which are supposed to be 
here for backward compatibility mostly, I wouldn't shed a tear if we don't 
support that at all.
                
> Allow updating column_alias types
> ---------------------------------
>
>                 Key: CASSANDRA-4041
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4041
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: API
>            Reporter: Sylvain Lebresne
>            Assignee: Pavel Yaskevich
>            Priority: Minor
>             Fix For: 1.1.2
>
>
> CASSANDRA-3657 has added the ability to change comparators (including parts 
> of a compositeType) when compatible. The code of CQL3 forbids it currently 
> however so we should lift that limitation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to