example:

create column family Countries 
with comparator=UTF8Type 
and column_metadata=[
{column_name: name, validation_class: UTF8Type}
];

this gives the following error:
Command not found: `create column family Countries with comparator=UTF8Type and 
column_metadata=[ {column_name: name, validation_class: UTF8Type} ];`. Type 
'help' or '?' for help.


but the following command works:
create column family Countries 

with comparator=UTF8Type 

and column_metadata=[

{column_name: countryName, validation_class: UTF8Type}

];








this command gives an error:

--- On Sun, 1/16/11, Tyler Hobbs <ty...@riptano.com> wrote:

From: Tyler Hobbs <ty...@riptano.com>
Subject: Re: cassandra-cli 0.7 "name" as a column name!
To: user@cassandra.apache.org
Date: Sunday, January 16, 2011, 8:30 PM

You can.

Can you give us the line that you are trying to execute?

- Tyler

On Sun, Jan 16, 2011 at 1:22 PM, kh jo <jo80la...@yahoo.com> wrote:


Why can't I use "name" as a column name?









      




      

Reply via email to