cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From puneet loya <puneetl...@gmail.com>
Subject Re: insert in cql
Date Wed, 11 Apr 2012 18:45:35 GMT
thank you :)

On Wed, Apr 11, 2012 at 8:55 PM, Eric Evans <eevans@acunu.com> wrote:

> On Wed, Apr 11, 2012 at 5:20 AM, puneet loya <puneetloya@gmail.com> wrote:
> > insert into users (KEY) values (512313);
> >
> > users is my column family and key is its only attribute..
> >
> > It is giving an error
> > bad request : line 1:24 required (...)+ loop did not match anything at
> input
> > ')'
> >
> > do you find any error here?
>
> Yes.  KEY here is presumably the row key (aka PRIMARY KEY) and you
> cannot store an otherwise empty row, you need at least one actual
> column.
>
> --
> Eric Evans
> Acunu | http://www.acunu.com | @acunu
>

Mime
View raw message