On Mon, Jan 3, 2011 at 12:56 PM, vicent roca daniel <sap...@gmail.com> wrote:
> Hi again!
> code:
> require 'rubygems'
> require 'cassandra'
> app = Cassandra.new('AOM', servers = "127.0.0.1:9160")
> app.insert(:NumData, 'device1-cpu', { Time.now => 10.to_s })

I'm going to assume you're getting an exception here? I think you need
to convert the time to a string.

> ....
> storag-confl.xm.
> <Keyspace Name="AOM">
> <ColumnFamily CompareWith="LongType" Name="NumericArchive" />
> </..>
>
> Thanks!!

-ryan

Reply via email to