cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Georg Köster <georg.koes...@gmail.com>
Subject Re: Composite columns: CLI or CQL?
Date Mon, 11 Jun 2012 08:16:07 GMT
I used Pelops and now I tried Astyanax and I get no details on the value
that cassandra is analyzing - only the composite key is in the error
message. If I insert a String instead of the Long (Long.toString(...) and
Long.valueOf()) my tests work but my column size is larger of course. I can
use it that way but I would rather find out what's wrong here.

More details tonight - I can send a test case, too!
Georg

On Mon, Jun 11, 2012 at 9:14 AM, Sylvain Lebresne <sylvain@datastax.com>wrote:

> More details would help, like at least the query you're using to do
> the insertion and that fails, as well as the exact error message.
>
> --
> Sylvain
>
> On Mon, Jun 11, 2012 at 2:42 AM, Georg Köster <georg.koester@gmail.com>
> wrote:
> > Dear all,
> >
> > I'm really excited about Cassandra's peer-to-peer architecture and sorted
> > values.
> >
> > Currently I'm blocked in trials: I cannot insert longs into 'val' in:
> >
> > create columnfamily entries (
> >
> >     id varchar,
> >
> >     va varchar,
> >
> >     ts bigint,
> >
> >     val bigint,
> >
> >     PRIMARY KEY (id, va, ts)
> >
> > );
> >
> > I get validation errors (String didn't validate). I can insert strings as
> > much as I like. With int it seems to work, too.
> >
> > Did I make a mistake? The error is somewhat spurious, very seldomly it
> goes
> > through, but I cannot really reproduce that situation. Another question
> is
> > of course if I can switch validation off for the time it's still buggy?
> >
> > Since I don't get to trials: How fast is inserting a new column into the
> > middle of a 100,000 columns row anyways?
> >
> > Cheers,
> > Georg
>

Mime
View raw message