You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sylvain Lebresne (JIRA)" <ji...@apache.org> on 2012/09/10 18:48:09 UTC

[jira] [Updated] (CASSANDRA-4611) Add AlterKeyspace statement

     [ https://issues.apache.org/jira/browse/CASSANDRA-4611?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sylvain Lebresne updated CASSANDRA-4611:
----------------------------------------

    Attachment: 4611.txt

Attaching a patch that:
* Adds 'ALTER KEYSPACE'
* Allows to set/update durable_writes. This wasn't handled even for CREATE KEYSPACE. I haven't split that to a separate patch because this needed the same kind of refactor needed for this ticket anyway.
* Make the parsing/handling of properties for CREATE/ALTER KEYSPACE/TABLE a bit more robust. In particular it throws an exception if you set twice the same property in the same query instead of just ignoring the first value.

                
> Add AlterKeyspace statement
> ---------------------------
>
>                 Key: CASSANDRA-4611
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4611
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: API
>    Affects Versions: 1.1.0
>            Reporter: Sylvain Lebresne
>            Priority: Minor
>              Labels: cql3
>             Fix For: 1.2.0
>
>         Attachments: 4611.txt
>
>
> Somehow we never added an "ALTER KEYSPACE" statement. We should.

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