cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Petrashko (Commented) (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-3994) Allow indexes for comparisons other than equal
Date Mon, 05 Mar 2012 11:00:03 GMT


Dmitry Petrashko commented on CASSANDRA-3994:

Yes, but it allows only equals filter.
It uses ThriftValidation.validateFilterClauses that requires at least one EQ operation
isIndexed |= (expression.op == IndexOperator.EQ) && indexedColumns.contains(expression.column_name);

Currently we've developed index that can efficiently work with LT GT operations, this patch
provides support for requests with filters that use index on operations other than equals.
> Allow indexes for comparisons other than equal
> ----------------------------------------------
>                 Key: CASSANDRA-3994
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Dmitry Petrashko
>         Attachments: Validation_fix_for_filters_other_than_EQuals.patch
> As for now, validation marks filters with operations other than equal as invalid.
> This is also gives initial support for indexes other than KEYS

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


View raw message