You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Andrés de la Peña (JIRA)" <ji...@apache.org> on 2015/12/22 19:54:46 UTC

[jira] [Updated] (CASSANDRA-10924) Pass base table's metadata to Index.validateOptions

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

Andrés de la Peña updated CASSANDRA-10924:
------------------------------------------
    Attachment: CASSANDRA-10924-v0.diff

> Pass base table's metadata to Index.validateOptions
> ---------------------------------------------------
>
>                 Key: CASSANDRA-10924
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10924
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Andrés de la Peña
>            Priority: Minor
>             Fix For: 3.2, 3.0.x, 3.x, 3.0.3
>
>         Attachments: CASSANDRA-10924-v0.diff
>
>
> Some custom index implementations require the base table's metadata to validate their creation options. For example, the options of these implementations can contain information about which base table's columns are going to be indexed and how, so the implementation needs to know the existence and the type of the columns to be indexed to properly validate.
> The attached patch proposes to add base table's {{CFMetaData}} to Index' optional static method to validate the custom index options:
> {{public static Map<String, String> validateOptions(CFMetaData cfm, Map<String, String> options);}}



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