This clarifies my doubt.
Thanks You Sylvain for your help.
On Tue, Aug 26, 2014 at 11:59 PM, Sylvain Lebresne
wrote:
> On Tue, Aug 26, 2014 at 6:50 PM, Jaydeep Chovatia <
> chovatia.jayd...@gmail.com> wrote:
>
>> Hi,
>>
>> I have question on inserting multiple cluster keys under same partition
On Tue, Aug 26, 2014 at 6:50 PM, Jaydeep Chovatia <
chovatia.jayd...@gmail.com> wrote:
> Hi,
>
> I have question on inserting multiple cluster keys under same partition
> key.
>
> Ex:
>
> CREATE TABLE Employee (
> deptId int,
> empId int,
> name varchar,
> address varchar,
> salary int
But if we look at thrift world "batch_mutate" then it used to perform all
mutations withing partition key atomically without using CAS i.e no extra
penalty.
Does this mean CQL degrades in performance as compared to thrift if we want
to do multiple updates to a partition key atomically?
On Tue, Au
AFAIK, it is not. With CAS it should br
On 26/08/2014 10:21 pm, "Jaydeep Chovatia"
wrote:
> Hi,
>
> I have question on inserting multiple cluster keys under same partition
> key.
>
> Ex:
>
> CREATE TABLE Employee (
> deptId int,
> empId int,
> name varchar,
> address varchar,
> salary
Hi,
I have question on inserting multiple cluster keys under same partition
key.
Ex:
CREATE TABLE Employee (
deptId int,
empId int,
name varchar,
address varchar,
salary int,
PRIMARY KEY(deptId, empId)
);
BEGIN *UNLOGGED *BATCH
INSERT INTO Employee (deptId, empId, name, address,