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 <[email protected]> wrote:
From: Tyler Hobbs <[email protected]>
Subject: Re: cassandra-cli 0.7 "name" as a column name!
To: [email protected]
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 <[email protected]> wrote:
Why can't I use "name" as a column name?