Caleb Rackliffe created CASSANDRA-20566:
-------------------------------------------

             Summary: 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


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: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to