You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "vincent royer (JIRA)" <ji...@apache.org> on 2017/02/25 23:44:44 UTC

[jira] [Updated] (CASSANDRA-13268) Allow to create custom secondary index on static columns

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

vincent royer updated CASSANDRA-13268:
--------------------------------------
           Labels: features  (was: )
    Reproduced In: 3.0.10
           Status: Patch Available  (was: Open)

This patch allow to create a custom secondary index on a static column with an option as follow :
CREATE TABLE test.t2 (
    a int,
    b text,
    c text static,
    PRIMARY KEY (a, b)
);
CREATE CUSTOM INDEX my_idx ON test.t2 (c) USING 'a.class' WITH OPTIONS = {'enforce': 'true'};

> Allow to create custom secondary index on static columns
> --------------------------------------------------------
>
>                 Key: CASSANDRA-13268
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13268
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core, CQL
>            Reporter: vincent royer
>            Priority: Trivial
>              Labels: features
>             Fix For: 3.0.x
>
>         Attachments: 0001-CASSANDRA-13268-custom-index-on-static-columns.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Custom secondary index implementations (like elassandra) could gain avantage to index static columns, even if not searchable with CQL. Here is a proposal to allow index creation on static columns.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)