[
https://issues.apache.org/jira/browse/CASSANDRA-11110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15190748#comment-15190748
]
Pavel Yaskevich commented on CASSANDRA-11110:
---------------------------------------------
[~jbellis] [~beobal] I've spend some time working on this today and it looks
like implementing ALLOW FILTERING "avoidance" for individual restrictions is
going to be pretty straight-forward e.g. simply adding
Index.requiresFiltering(Operator) and
Restriction(s).requiresFiltering(SeconaryIndexManager) might suffice. That
said, it's actually going to be move involved to avoid ALLOW FILTERING across
restrictions e.g. (age > 5 AND first_name = 'Pavel') and would require
CASSANDRA-10765 to be implemented since common interface across indexes and
QueryPlan would be a proper way to determine if different indexes are
intersect-able and in what way, I don't, at the moment, see any other way to
properly do that.
> Parser improvements for SASI
> ----------------------------
>
> Key: CASSANDRA-11110
> URL: https://issues.apache.org/jira/browse/CASSANDRA-11110
> Project: Cassandra
> Issue Type: New Feature
> Components: CQL
> Reporter: Jonathan Ellis
> Assignee: Pavel Yaskevich
>
> Shouldn't require ALLOW FILTERING for SASI inequalities.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)