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 86513905B for ; Tue, 11 Sep 2012 23:29:50 +0000 (UTC) Received: (qmail 90621 invoked by uid 500); 11 Sep 2012 23:29:48 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 90592 invoked by uid 500); 11 Sep 2012 23:29:48 -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 90579 invoked by uid 99); 11 Sep 2012 23:29:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Sep 2012 23:29:48 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=FSL_RCVD_USER,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.160.44] (HELO mail-pb0-f44.google.com) (209.85.160.44) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Sep 2012 23:29:43 +0000 Received: by pbbrr4 with SMTP id rr4so1477767pbb.31 for ; Tue, 11 Sep 2012 16:29:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=onescreen.com; s=google; h=mime-version:date:message-id:subject:from:to:content-type; bh=P+JQgI43qBbDpvz3JW2ziHK4s6pVG1o+zimrzs0zrUw=; b=MLCif4AIcqhRnTfiDu6eZWYfhHPbe0Wqr5Gob9hLPpo6GEOTNnF6mMMaFQDZR/EofW IOmIhBzYNEZmr9D6dyMmgsHDnFVpVoj1q4mjfF0RdnCDoawPRABCr7ozb2EA53MNdp7u dL6ItdTOti1GIEWqloqx72rFR/cE6CFfC55cs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :x-gm-message-state; bh=P+JQgI43qBbDpvz3JW2ziHK4s6pVG1o+zimrzs0zrUw=; b=MtHUytWoFH5qV41kA+F9Gb0Ukv8mfNIZoSi7txhE8M73B3xUkeE6aeCXQLpOGnWqJQ Op1mmUjxprsV3vZs8BWojilFgwbxp8kFOdZsER8WB2FVfSPmpQI0D6CmpT9Pw4TiiM3n cwOjVOFSZY9iMy5jEjCy17ybRX5LCYEhqdnbg9bRjArbjlKqCip7PQUgzs1p76JHd5EP vdYT23GZ3nznr4KDcrxbaMT5PmTQMl+bFgBHbMg1uWqqNnM4xB7OWChnG1FhWtHm2k+o SdeQS6B5LMh/uI8lVnfa6sc3vwGpfvc+Wl0Dxh6+Oj5R6Df7evbWk9VQLJrf/LenTzrp k/Dg== MIME-Version: 1.0 Received: by 10.66.76.130 with SMTP id k2mr28881951paw.19.1347406162543; Tue, 11 Sep 2012 16:29:22 -0700 (PDT) Received: by 10.66.12.167 with HTTP; Tue, 11 Sep 2012 16:29:22 -0700 (PDT) Date: Tue, 11 Sep 2012 16:29:22 -0700 Message-ID: Subject: how to enter float value from cassandra-cli ? From: Yuhan Zhang To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=f46d042dfec1afc42404c975712b X-Gm-Message-State: ALoCoQnADnGg79ADLrgI/KgT/7wkRnsjHIdHD7Ktmm5hZqxZoTFiRb7Gt0v65wX7lIZO+eNITv0M X-Virus-Checked: Checked by ClamAV on apache.org --f46d042dfec1afc42404c975712b Content-Type: text/plain; charset=ISO-8859-1 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 --f46d042dfec1afc42404c975712b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi all,

I'm trying to manually adding some double values into a = column family. From the Hector client, there's a DoubleSerializer.
b= ut looks like the cli tool is not providing a way to enter floating point v= alues. here's the message I got:

[default@video] set cateogry['1']['sport'] =3D float(&#= 39;0.5');
Function 'float' not found. Available functions: b= ytes, integer, long, int, lexicaluuid, timeuuid, utf8, ascii, countercolumn= .

Is there a way to insert floating pointer value from the cli tool?
<= br>
Thank you.

Yuhan
--f46d042dfec1afc42404c975712b--