Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 41131 invoked from network); 2 Jan 2011 23:46:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Jan 2011 23:46:16 -0000 Received: (qmail 53617 invoked by uid 500); 2 Jan 2011 23:46:14 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 53495 invoked by uid 500); 2 Jan 2011 23:46:14 -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 53487 invoked by uid 99); 2 Jan 2011 23:46:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Jan 2011 23:46:14 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of saptah@gmail.com designates 209.85.216.179 as permitted sender) Received: from [209.85.216.179] (HELO mail-qy0-f179.google.com) (209.85.216.179) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Jan 2011 23:46:07 +0000 Received: by qyj19 with SMTP id 19so13879600qyj.10 for ; Sun, 02 Jan 2011 15:45:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=AJcHHNku+AmNgbQcMOWhuMf46b7xfDj8Zla4tWC/Pjw=; b=dczPvK2SrwC3KAsP8eTotuTD4LbUhQ8diXilCRbXoMB+AAFMQhfqQM6WHehIE2jGPS 5FpaAtOHXq08zcCiy03p0FxJNxsp15pOYbG4BWA+Yrh8EcpfHRnvGCHgt5Nx7v3y2hUU q2GrHFSd+FiBX2gFNPFWKYruhYUl/brC0dJUc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=qJeGlg15zHmIr5mWtB+WK5/1PX9Z48ql0zdGR1dpZGiL1z14uLGpkh2EJHqjnbftHF kqJDn5K+2XpCky0Xg7mtoo5Poq+PX3zRfINI5+h76wkoYIKoSgyqHIk3MhIrMmBNuzRd nI4znYYSYyb6olx5/4pNBhBsMaiRNwJNadLCo= MIME-Version: 1.0 Received: by 10.229.100.20 with SMTP id w20mr17650449qcn.50.1294011946984; Sun, 02 Jan 2011 15:45:46 -0800 (PST) Received: by 10.229.12.202 with HTTP; Sun, 2 Jan 2011 15:45:46 -0800 (PST) Date: Mon, 3 Jan 2011 00:45:46 +0100 Message-ID: Subject: Insert LongType with ruby From: vicent roca daniel To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=0016364ed5de6f640c0498e5a279 --0016364ed5de6f640c0498e5a279 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi guys, I need your help. I'm trying to insert a column name of type LongType using the ruby wrapper, but I can't get it working. What I'm trying is something like this: app.insert(:Data, 'device1-cpu', { Time.now =3D> 1234.to_s}) The columnNames are tye TimeStamp. this way I got an ordened record by time= . I think I'm not inserting a correct value here. =BFany thoughts ? Thanks you in advance :) --0016364ed5de6f640c0498e5a279 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi guys, I need your help.

I'm trying to insert a co= lumn name of type LongType using the ruby wrapper, but I can't get it w= orking.

What I'm trying is something like this= :
=A0=A0=A0app.insert(:Data, 'device1-cpu', { Time.now =3D> 1= 234.to_s})

The columnNames are tye TimeStamp. this= way I got an ordened record by time.
I think I'm not inserti= ng a correct value here. =BFany thoughts ?

Thanks you in advance :)

--0016364ed5de6f640c0498e5a279--