cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-5626) Support empty IN queries
Date Wed, 24 Jul 2013 13:17:57 GMT


Aleksey Yeschenko commented on CASSANDRA-5626:

bq. Why remove the break when checking if we have at least one indexed EQ clause?

validation is non-deterministically reached - depending on the names of the indexed columns
and on the hashmap seed (and then getIndexExpressions get(0) throws NPE with IN () half the
time). So you need to iterate over all restrictions.
> Support empty IN queries
> ------------------------
>                 Key: CASSANDRA-5626
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.2.0
>            Reporter: Alexander Solovyev
>            Assignee: Aleksey Yeschenko
>            Priority: Minor
>              Labels: cql3
>         Attachments: 5626.txt
> It would be nice to have support of empty IN queries. 
> Example: "SELECT a FROM t WHERE aKey IN ()". 
> One of the reasons is to have such support in DataStax Java Driver (see discussion here:

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message