Logical error of org.apache.spark.sql.cassandra.BasicCassandraPredicatePushDown#partitionKeyPredicatesToPushDown

Description

//2.Only the last partition key column predicate can be an IN

table:

when use cql:

execute successful
but in connector,
it will execute

first and filter the part1 and part2
when I create table

in connector will run select * from test2 where part1 in (0) and part2='test' first

I changed
the code of org.apache.spark.sql.cassandra.BasicCassandraPredicatePushDown#partitionKeyPredicatesToPushDown
to

is fine

Pull Requests

None

Status

Assignee

Alex Liu

Reporter

Chong Hu

Labels

None

Reviewer

None

Reviewer 2

None

Tester

None

Pull Request

None

Components

Affects versions

Priority

Major
Configure