Read operation can read uncommitted data?

2016-06-26 Thread Yuji Ito
Hi, I'm testing Cassandra CAS operation. Can a read operation read uncommitted data which is being updated by CAS in the following case? I use Cassandra 2.2.6. There are 3 nodes (A, B and C) in a cluster. Replication factor of keyspace is 3. CAS operation on node A starts to update row X (updati

Re: 1) select collection_type whith keywork 'in' . 2)how to using UDFin update?

2016-06-26 Thread lowping
HI, Brooke Jensen,Thanks for reply. sorry about the terrible description for error last time. this is my table schema create table test( id text, scope text, name text, value SETtext, PRIMARY KEY (id,scope) )WITH CLUSTERING ORDER BY (scope ASC); I execute this cql and get a error

Re: Question about hector api documentation

2016-06-26 Thread Sungju Hong
Thanks for reply. I will be engaged in the project using Cassandra soon. Cassandra version is 1.2.3 and the core service was developed by hector 1.1-3, so I need to be familiar with hector for old code analysis. I'm considering Datastax java driver for new service. I appreciate any advice for c

Re: 1) select collection_type whith keywork 'in' . 2)how to using UDF in update?

2016-06-26 Thread Brooke Jensen
Hi. Can you please show me the specific error message you are receiving, as well as the schema for this table (you can use the cql command "describe table"). *Brooke Jensen* VP Technical Operations & Customer Services www.instaclustr.com | support.instaclustr.com

1) select collection_type whith keywork 'in' . 2)how to using UDF in update?

2016-06-26 Thread lowping
Hi All: question 1: I got a error about this cql, does it fixed already ??? select collection_type where id in (‘a’,’b’) question 2: I want use UDF in update, but this cql can’t execute. have some advise??? update table_name set field=my_function(field) where… tnk u so much