SELECT * FROM my_table WHERE (id IN :ids) and (user IN :users)"
returns always zero size list.
I tried it like this as well
SELECT * FROM my_table WHERE id IN :ids and user IN :users
or
SELECT * FROM my_table WHERE id IN ? and user IN ?
my_table has user as partition key and id as cluster key
create table if not exists my_table (id uuid,
name text,user text, primary key ((user),id))
SELECT * FROM my_table WHERE id IN ? allow filtering; worked but allow filtering is not ok for production.
Any idea why this happens? I tried the select from DBEAVER and it worked with no warnings so I imagined this is a valid select for production.Thank you,Andrei
--
Olivier Michallat
Driver & tools engineer, DataStax
--
You received this message because you are subscribed to the Google Groups "DataStax Java Driver for Apache Cassandra User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to java-driver-user+unsubscribe@lists.datastax.com.
To unsubscribe from this group and stop receiving emails from it, send an email to java-driver-us...@lists.datastax.com.