incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Evans <eev...@rackspace.com>
Subject Re: PHP CQL Driver
Date Sun, 29 May 2011 02:27:46 GMT
On Thu, 2011-05-26 at 20:51 +0200, Kwasi Gyasi - Agyei wrote:
> CREATE COLUMNFAMILY magic (KEY text PRIMARY KEY, monkey ) WITH
> comparator = text AND default_validation = text

That's not a valid query.  If monkey is a column definition, then it
needs a type.  If you're trying to name the key, don't do that (at least
not yet).  Try instead:

CREATE COLUMNFAMILY magic (KEY text PRIMARY KEY, monkey text) WITH
comparator = text AND default_validation = text


-- 
Eric Evans
eevans@rackspace.com


Mime
View raw message