Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
Correctness
-
Low
-
Normal
-
Adhoc Test
-
All
-
None
-
Description
This was discussed in
https://lists.apache.org/thread/loj6jgv54szdvyt3wmvbtwwrrg1dtlxq
Basically, when I have this table:
create table ks.tb (p1 int, c1 int, col1 int, col2 int, primary key (p1, c1));
and I do this
select * from ks.tb where p1 = 1 and c1 = 2 and col2 = 1;
this will fail and it will require to use ALLOW FILTERING just because we are also specifying "col2". This is clearly a bug - there is no reason to require it if we are going to fetch one row only as all partition and clustering keys were specified.
Attachments
Issue Links
- duplicates
-
CASSANDRA-15803 Separate out allow filtering scanning through a partition versus scanning over the table
-
- Triage Needed
-
- links to