cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vicent roca daniel <sap...@gmail.com>
Subject Re: Insert LongType with ruby
Date Mon, 03 Jan 2011 17:32:24 GMT
Hi Ryan,

When I insert the column, I don't get  any error. But, when I inspect the
contents, I don't see a valid number.
also, If I try to do a range query, I'm not getting the expected results.

On Mon, Jan 3, 2011 at 6:02 PM, Ryan King <ryan@twitter.com> wrote:

> On Sun, Jan 2, 2011 at 3:45 PM, vicent roca daniel <saptah@gmail.com>
> wrote:
> > 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 => 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. ┬┐any thoughts ?
>
> What error are you getting?
>
> -ryan
>

Mime
View raw message