Query indexed column with key filte
-----------------------------------

                 Key: CASSANDRA-2838
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2838
             Project: Cassandra
          Issue Type: New Feature
          Components: Core
            Reporter: Danny Wang


To be able to support query like this,

 (KEY>  foo AND KEY<  bar and name1 = value1


Currently I found this code
 
        // Start and finish keys, *and* column relations (KEY>  foo AND KEY<  
bar and name1 = value1).
        if (select.isKeyRange()&&  (select.getKeyFinish() != null)&&  
(select.getColumnRelations().size()>  0))
            throw new InvalidRequestException("You cannot combine key range and 
by-column clauses in a SELECT");
 
 in
 
 
http://svn.apache.org/repos/asf/cassandra/trunk/src/java/org/apache/cassandra/cql/QueryProcessor.java
 
 


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to