You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jacques-Henri Berthemet (JIRA)" <ji...@apache.org> on 2016/03/04 18:40:40 UTC

[jira] [Created] (CASSANDRA-11306) Add support for ALTER INDEX command

Jacques-Henri Berthemet created CASSANDRA-11306:
---------------------------------------------------

             Summary: Add support for ALTER INDEX command
                 Key: CASSANDRA-11306
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11306
             Project: Cassandra
          Issue Type: Wish
          Components: Core, CQL
         Environment: Cassandra 2.2+
            Reporter: Jacques-Henri Berthemet


Cassandra supports  passing options to a (custom) secondary index at creation time:
https://docs.datastax.com/en/cql/3.1/cql/cql_reference/create_index_r.html
{code}
CREATE CUSTOM INDEX ON users (email) USING 'path.to.the.IndexClass' WITH OPTIONS = {'storage': '/mnt/ssd/indexes/'};
{code}

However it is not possible to update the options for an existing index.

It would be great to have an ALTER INDEX command similar to the ALTER TABLE command. Custom index implementation would receive the command and act accordingly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)