Cannot restrict clustering columns by IN relations when a collection is selected by the query

2016-10-21 Thread Jeff Carpenter
', 'DEF', 'GHI'); I receive the response message: Cannot restrict clustering columns by IN relations when a collection is selected by the query. If I select a non-collection column such as "description", no error occurs. Why does this restriction exist? Is thi

Cannot restrict clustering columns by IN relations when a collection is selected by the query

2016-10-27 Thread Ali Akhtar
ecutionException: com.datastax.driver.core.exceptions.InvalidQueryException: Cannot restrict clustering columns by IN relations when a collection is selected by the query Any ideas on why this isn't working?

Re: Cannot restrict clustering columns by IN relations when a collection is selected by the query

2016-10-21 Thread DuyHai Doan
7;, 'DEF', 'GHI'); > > I receive the response message: > > Cannot restrict clustering columns by IN relations when a collection is > selected by the query. > > If I select a non-collection column such as "description", no error occurs. > > Why

Re: Cannot restrict clustering columns by IN relations when a collection is selected by the query

2016-10-23 Thread Samba
code) >> ); >> >> When executing the query: >> >> select rates from rates_by_code where hotel_id='AZ123' and rate_code IN >> ('ABC', 'DEF', 'GHI'); >> >> I receive the response message: >> >> Cannot restrict

Re: Cannot restrict clustering columns by IN relations when a collection is selected by the query

2016-10-27 Thread DuyHai Doan
ROM ticket_by_member WHERE project_id = ? AND > member_id IN(?)" )* > > *Result cardsByMembers(String projectId, > List memberIds);* > > But when I call this method, I get the exception: > > java.util.concurrent.ExecutionException: com.datastax.driver.core. > exceptions.Inv