Details
-
Bug
-
Status: Resolved
-
Low
-
Resolution: Not A Problem
-
None
-
None
-
None
-
Java Driver 2.0.0-rc1
-
Low
Description
I tried to use the following CQL query:
DELETE FROM table WHERE id IN ?
using Java driver like this:
prepStatement.setList("id", idsAsList);
but got the following exception:
java.lang.IllegalArgumentException: id is not a column defined in this metadata at com.datastax.driver.core.ColumnDefinitions.getAllIdx(ColumnDefinitions.java:273) at com.datastax.driver.core.BoundStatement.setList(BoundStatement.java:840)
Debugger shows that Cassandra sends "in(id)" in metadata. Is this correct?
See mail thread for more details: https://groups.google.com/a/lists.datastax.com/forum/#!topic/java-driver-user/U7mlKcoDL5o
Attachments
Attachments
Issue Links
- is related to
-
CASSANDRA-4210 Support for variadic parameters list for "in clause" in prepared cql query
- Resolved