Sorry that was a typo the query I had in my test case reads as follows:
$query = "CREATE COLUMNFAMILY smoke (KEY text PRIMARY KEY, monkey text)
WITH comparator = text AND default_validation = text";
thanks for your response, still have the same issue. it seems thrift php
interface exception aren
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
yep, works perfectly @ http://caqel.deadcafe.org/
I will try my luck @ phpcassa.
Thanks for your time gentlemen.
On Thu, May 26, 2011 at 8:59 PM, Sasha Dolgy wrote:
> maybe you'd have more luck discussing this on the phpcassa list?
> https://groups.google.com/forum/#!forum/phpcassa
>
> more ex
maybe you'd have more luck discussing this on the phpcassa list?
https://groups.google.com/forum/#!forum/phpcassa
more experience there with PHP and Cassandra ...
Are you able to validate the query works when not using PHP?
On Thu, May 26, 2011 at 8:51 PM, Kwasi Gyasi - Agyei
wrote:
> got syste
got system in debug mode
the following query fails
---
CREATE COLUMNFAMILY magic (KEY text PRIMARY KEY, monkey ) WITH comparator =
text AND default_validation = text
PHP error reads
-
#0
/Volumes/DATA/Project/libs/php/phpCQL/vendor/cassandra/c
Cool, this may be a better discussion for the client-dev list
http://www.mail-archive.com/client-dev@cassandra.apache.org/
I would start by turning up the server logging to DEBUG and watching your
update / select queries.
Cheers
-
Aaron Morton
Freelance Cassandra Developer
@aar