[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cassandra-dev
Subject:    Fw: Fwd: CQLsh assume command
From:       Vivek Mishra <vivek.mishra () yahoo ! com>
Date:       2013-08-25 7:05:10
Message-ID: 1377414310.1492.YahooMailNeo () web162406 ! mail ! bf1 ! yahoo ! com
[Download RAW message or body]


Hi,
fyi. 

Cqlsh ASSUME command, does it work with INSERT statement?

Any suggestions?

-Vivek

---------- Forwarded message ----------
From: Vivek Mishra <mishra.vivs@gmail.com>
Date: Sun, Aug 25, 2013 at 12:58 AM
Subject: CQLsh assume command
To: user@cassandra.apache.org



Hi,
i am trying to get CQL3 ASSUME command working, as it works with Cassandra-cli.

In my example, i have create a table as :

create table
default(id blob PRIMARY KEY);
Then after connecting with CQLsh(version 3), i did execute:
assume default(id) values are text;
and then tried to insert a simple record as :


insert into default(id) values('1');

But still i am getting error as:
Bad Request: cannot parse '1' as hex bytes

Any suggestion, what am i doing incorrect here?

-Vivek

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic