Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7118EDE47 for ; Wed, 12 Sep 2012 21:48:48 +0000 (UTC) Received: (qmail 6024 invoked by uid 500); 12 Sep 2012 21:48:45 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 6005 invoked by uid 500); 12 Sep 2012 21:48:45 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 5994 invoked by uid 99); 12 Sep 2012 21:48:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Sep 2012 21:48:45 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=FSL_RCVD_USER,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a43.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Sep 2012 21:48:39 +0000 Received: from homiemail-a43.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a43.g.dreamhost.com (Postfix) with ESMTP id 9B64F8C06B for ; Wed, 12 Sep 2012 14:48:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h=from :content-type:message-id:mime-version:subject:date:references:to :in-reply-to; s=thelastpickle.com; bh=Y12qu2/Q3OM7N9r5CeIcC1HMxk Q=; b=w9/USK3iyhxR1JMAKuZEB4DB0ecLVTHM0t5adRdTPLoSjaPfABvYQhptcl nol7daHgKQpJUQY2CZXds+z+RWxkLhFCP2zQsJpGCyn4nCg8ldw6Ey1ALCOF0P+B MrRcO8WQ2rw+kz33NoCDxerkVodRbM9FwOXm8XaB6bScGNARw= Received: from [192.168.2.77] (unknown [116.90.132.105]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a43.g.dreamhost.com (Postfix) with ESMTPSA id 251DB8C05F for ; Wed, 12 Sep 2012 14:48:16 -0700 (PDT) From: aaron morton Content-Type: multipart/alternative; boundary="Apple-Mail=_ED3219C2-18BF-4C9F-9011-F4167266135C" Message-Id: Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1486\)) Subject: Re: how to enter float value from cassandra-cli ? Date: Thu, 13 Sep 2012 09:48:16 +1200 References: To: user@cassandra.apache.org In-Reply-To: X-Mailer: Apple Mail (2.1486) --Apple-Mail=_ED3219C2-18BF-4C9F-9011-F4167266135C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 It's not supported, yet.=20 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 wrote: > Hi all, >=20 > I'm trying to manually adding some double values into a column family. = =46rom 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: >=20 > [default@video] set cateogry['1']['sport'] =3D float('0.5'); > Function 'float' not found. Available functions: bytes, integer, long, = int, lexicaluuid, timeuuid, utf8, ascii, countercolumn. >=20 > Is there a way to insert floating pointer value from the cli tool? >=20 >=20 > Thank you. >=20 > Yuhan --Apple-Mail=_ED3219C2-18BF-4C9F-9011-F4167266135C Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1 It's = not supported, yet. 

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


Cheers

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. =46rom 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'] =3D = 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

= --Apple-Mail=_ED3219C2-18BF-4C9F-9011-F4167266135C--