Re: IF NOT EXISTS with multiple static columns confusion

2016-03-01 Thread Tyler Hobbs
What version of Cassandra are you using? I just tested this out against trunk and got reasonable behavior: cqlsh:ks1> CREATE TABLE test (k int, s1 int static, s2 int static, c int, v int, PRIMARY KEY (k, c)); cqlsh:ks1> INSERT INTO test (k, c, v) VALUES (0, 0, 0); cqlsh:ks1> UPDATE test SET s1

IF NOT EXISTS with multiple static columns confusion

2016-02-23 Thread Nimi Wariboko Jr
I have a table with 2 static columns, and I write to either one of them, if I then write to the other one using IF NOT EXISTS, it fails even though it has never been written too before. Is it the case that all static columns share the same "written too" marker? Given a table like so: CREATE