I have a query that operates on column with type `set<tuple<int,int>>`. I want to make a prepared statement for that query and couldn't seem to find the appropriate data type to pass in when executing the query.
Here's the error that I got: `Expected: <class 'cassandra.io.libevreactor.SetType(TupleType(Int32Type, Int32Type))'>`, can I check where I could find that data type? I couldn't seem to pass in `ValueSequence` and I haven't managed to find something useful in `cassandra.query`.
Thank you for your help!
[UPDATE] Here's my table definition:
CREATE TABLE wsupplier.customer_to_item_pairs ( c_w_id int, c_d_id int, c_id int, i_pairs set<tuple<int,int>>, PRIMARY KEY ((c_w_id, c_d_id), c_id) );
And below is my prepared statement:
session.prepare( "UPDATE customer_to_item_pairs " "SET i_pairs = i_pairs + ? " "WHERE c_w_id = ? AND c_d_id = ? AND c_id = ?" )
I tried to perform the following operation:
batch.add( self.statements['updateCustomerToItemPairs'], [item_pairs, w_id, d_id, c_id] )
where `item_pairs` is a set containing tuple of integers.