Re: How to insert "Empty" timeuuid by Cql

2016-10-19 Thread Stefania Alborghetti
You're correct, cassandra 2.1 is still using protocol version 3. You need at least version 2.2. On Thu, Oct 20, 2016 at 11:18 AM, Lijun Huang wrote: > Thanks Stefania, we haven't tried before, and I think the version is not > matched, we are still using, > [cqlsh 4.1.1 |

Re: How to insert "Empty" timeuuid by Cql

2016-10-19 Thread Lijun Huang
Thanks Stefania, we haven't tried before, and I think the version is not matched, we are still using, [cqlsh 4.1.1 | Cassandra 2.1.11 | CQL spec 3.1.1 | Thrift protocol 19.39.0] On Thu, Oct 20, 2016 at 10:33 AM, Stefania Alborghetti < stefania.alborghe...@datastax.com> wrote: > Have you already

Re: How to insert "Empty" timeuuid by Cql

2016-10-19 Thread Stefania Alborghetti
Have you already tried using unset values? http://www.datastax.com/dev/blog/datastax-java-driver-3-0-0-released#unset-values They are only available starting with protocol version 4 however. On Thu, Oct 20, 2016 at 10:19 AM, Lijun Huang wrote: > Hi Vladimir, > > Indeed,

Re: How to insert "Empty" timeuuid by Cql

2016-10-19 Thread Lijun Huang
Hi Vladimir, Indeed, that's a little weird, I think it is like a empty string: '' but is a timeuuid value. We have many such records that inserted by Astyanax API, when we select it in cqlsh, it is like as below, note the column4 is timeuuid, it is not null or some value, just "empty". key

Re: How to insert "Empty" timeuuid by Cql

2016-10-19 Thread Vladimir Yudovin
Hi, what does it exactly mean 'empty timeuuid'? UUID takes 16 bytes for storage, so it should be either null, or some value. Do you mean 'zero' UUID? Best regards, Vladimir Yudovin, Winguzone - Hosted Cloud Cassandra Launch your cluster in minutes. On Wed, 19 Oct 2016 09:16:29

How to insert "Empty" timeuuid by Cql

2016-10-19 Thread coderhlj
Hi all, We use Cassandra 2.1.11 in our product, and we update the Java Drive from Astyanax(Thrift API) to DataStax Java Driver(Cql) recently, but we encounter a difficult issue as following, please help us, thanks in advance. Previously we were using Astyanax API, and we can insert empty