You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Yeshvanthni (JIRA)" <ji...@apache.org> on 2014/07/18 23:42:06 UTC

[jira] [Created] (CASSANDRA-7574) Support Custom Predicate in CQL SELECT for Custom Secondary Index

Yeshvanthni created CASSANDRA-7574:
--------------------------------------

             Summary:  Support Custom Predicate in CQL SELECT for Custom Secondary Index
                 Key: CASSANDRA-7574
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7574
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Yeshvanthni
            Priority: Minor


The SELECT query validation limits the predicates the custom secondary index can support.

Possible Approaches:
-Introduction of a special predicate string like custom_predicate which by-passes validation

CREATE CUSTOM INDEX ON table(column)  USING 'org.example.CustomSecondaryIndex';

Select * from table where custom_predicate=" something_only_custom_class_understands"


This might open up possibilities like,
- Range queries on secondary indexed columns etc
- Wild cards





--
This message was sent by Atlassian JIRA
(v6.2#6252)