incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aaron morton <aa...@thelastpickle.com>
Subject Re: how to enter float value from cassandra-cli ?
Date Wed, 12 Sep 2012 21:48:16 GMT
It's not supported, yet. 

Can you create a ticket on https://issues.apache.org/jira/browse/CASSANDRA ?

You could try cqlsh http://www.datastax.com/docs/1.1/dml/using_cql

Cheers

-----------------
Aaron Morton
Freelance Developer
@aaronmorton
http://www.thelastpickle.com

On 12/09/2012, at 11:29 AM, Yuhan Zhang <yzhang@onescreen.com> wrote:

> Hi all,
> 
> I'm trying to manually adding some double values into a column family. From the Hector
client, there's a DoubleSerializer.
> but looks like the cli tool is not providing a way to enter floating point values. here's
the message I got:
> 
> [default@video] set cateogry['1']['sport'] = float('0.5');
> Function 'float' not found. Available functions: bytes, integer, long, int, lexicaluuid,
timeuuid, utf8, ascii, countercolumn.
> 
> Is there a way to insert floating pointer value from the cli tool?
> 
> 
> Thank you.
> 
> Yuhan


Mime
View raw message