Re: cql3 - adding two numbers in insert statement

2017-05-04 Thread Alain RODRIGUEZ
To:* user@cassandra.apache.org > *Subject:* Re: cql3 - adding two numbers in insert statement > > > > Hi Shreyas, > > > > It's good to paste the error if you want us to give you a quick and good > answer. In this case the table schema would have been helpful as w

RE: cql3 - adding two numbers in insert statement

2017-04-28 Thread Shreyas Chandra Sekhar
convert from v4 to v3 to target Cassandra 2.x. Shreyas From: Alain RODRIGUEZ [mailto:arodr...@gmail.com] Sent: Friday, April 28, 2017 3:12 AM To: user@cassandra.apache.org Subject: Re: cql3 - adding two numbers in insert statement Hi Shreyas, It's good to paste the error if you wa

Re: cql3 - adding two numbers in insert statement

2017-04-28 Thread Alain RODRIGUEZ
Hi Shreyas, It's good to paste the error if you want us to give you a quick and good answer. In this case the table schema would have been helpful as well. That being said, you are probably missing some quotes around the values for 'key' and 'column1'. C*heers, --- Alain Rodr

cql3 - adding two numbers in insert statement

2017-04-03 Thread Shreyas Chandra Sekhar
Hi, I am trying to generate a random value of certain length and use that as one of the value in CQL3. Below is an example INSERT INTO "KS"."CF" (key, column1, value) VALUES (613462303431313435313838306530667c6263317431756331, 2633174317563312f6f36, blobAsUuid(timeuuidAsBlob(now())) + 1000);