cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-2838) Query indexed column with key filte
Date Wed, 29 Jun 2011 00:46:28 GMT

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

Jonathan Ellis resolved CASSANDRA-2838.
---------------------------------------

    Resolution: Fixed

key comparisons are only useful for OPP, which you shouldn't be using.

> 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

        

Mime
View raw message