does map collection type support in cassandra 2.0

Saturday, July 5, 2014

when i create table in cassandra 2.0 using phpcassa,i got the error as follows


Fatal error: Uncaught exception 'cassandra\InvalidRequestException' with message 'line 2:25 mismatched input 'map' expecting set null' in /var/www/assignment1/lib/thrift/Thrift.php:574 my code goes as


$raw->client->execute_cql_query("CREATE TABLE mc_user(mc_user_id uuid primary key ,mc_user_email varchar,mc_user_pwd varchar,mc_status varchar,mc_user_type map)", Compression::NONE);


if it doesnt supports does anyone can give me alternative solution for one to many relation?







http://ift.tt/1xv3Ocp