cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Lebresne (JIRA)" <>
Subject [jira] [Updated] (CASSANDRA-5705) Disallow renaming an indexed column
Date Wed, 26 Jun 2013 15:20:19 GMT


Sylvain Lebresne updated CASSANDRA-5705:

    Attachment: 5705.txt

Attaching trivial patch.
> Disallow renaming an indexed column
> -----------------------------------
>                 Key: CASSANDRA-5705
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Sylvain Lebresne
>            Assignee: Sylvain Lebresne
>            Priority: Minor
>             Fix For: 2.0 beta 1
>         Attachments: 5705.txt
> We can now index CQL3 primary key parts (CASSANDRA-5125) but also allow to rename such
columns. Unfortunately, since 2ndary index CF names currently depend on the name of the column
they index, renaming an indexed column basically ends up dropping the index.
> For now, the simplest solution is probably to just forbid renaming when the column is
2ndary indexed. If you really want to rename, you can always drop the index and recreate it
after the rename.

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:

View raw message