Re: batchstatement

2018-07-15 Thread kurt greaves
What is the primary key for the user_by_ext table? I'd assume it's ext_id, which would imply your update doesn't make sense as you can't change the primary key for a row - which would be the problem you're seeing. On Sat., 14 Jul. 2018, 06:14 Randy Lynn, wrote: > TL/DR: > - only 1 out of 14 stat

batchstatement

2018-07-13 Thread Randy Lynn
TL/DR: - only 1 out of 14 statements in a batch do not mutate the partition.. - no error is logged in the application layer, or Cassandra system.log or Cassandra debug.log - using C#, and Datastax latest driver - cluster is a 1-node, dev setup. - datastax driver configured with LOCAL_QUORUM at the

Re: datastax java driver Batch vs BatchStatement

2016-03-25 Thread Alexandre Dutra
Hi, Query builder's Batch simply sends a QUERY message through the wire where the query string is a CQL batch statement <http://docs.datastax.com/en/cql/3.3/cql/cql_reference/batch_r.html>: "BEGIN BATCH ... APPLY BATCH". BatchStatement actually sends a BATCH message <h

datastax java driver Batch vs BatchStatement

2016-03-24 Thread Jimmy Lin
Hi all, What is the difference between datastax driver Batch and BatchStatement? In particular, BatchStatment call out that it needs native protocol of version 2 or above. What is the advantage using native protocol 2.0 for batch execution? Will any of these two api smart enough to split a big