[
https://issues.apache.org/jira/browse/CASSANDRA-20566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17945526#comment-17945526
]
Caleb Rackliffe commented on CASSANDRA-20566:
---------------------------------------------
| [trunk|https://github.com/apache/cassandra/pull/4104] | CI TODO |
> RowFilter#isMutableIntersection() does not properly evaluate numeric ranges
> with both lower and upper bounds
> ------------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-20566
> URL: https://issues.apache.org/jira/browse/CASSANDRA-20566
> Project: Apache Cassandra
> Issue Type: Improvement
> Components: Consistency/Coordination, Feature/SAI
> Reporter: Caleb Rackliffe
> Assignee: Caleb Rackliffe
> Priority: Normal
> Fix For: 5.0.x, 5.x
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> We treat a {{RowFilter}} as having what we call a “mutable intersection” if
> it involves more than one non-primary-key column. (i.e. Primary key elements
> are immutable.) A numeric range of the form {{a > 3 AND a < 10}} is being
> evaluated as two columns in {{RowFilter#isMutableIntersection()}}, and this
> is causing SAI queries that should be able to run as single node read queries
> (and take advantage of digests, etc.) to run as range queries. It should be
> able to correct this simply by making sure we look at the number of unique
> mutable columns involved.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]