That is not a valid statement, were you getting an error ?
This creates the ProductCategory CF .
create column family ProductCategory
with column_type = 'Super'
and comparator = UTF8Type;
This creates the ProductCatID CF
create column family ProductCatId
WITH comparator = UTF8T
I am using 0.8.6.
On Thu, Sep 29, 2011 at 11:10 PM, Yi Yang wrote:
> ** Which version are you using? In my memory 0.8.3 cannot do it correctly
> but later versions fixed the bug.
>
> 從我的 BlackBerry(R) 無線裝置
> --
> *From: * Ramesh S
> *Date: *Thu, 29 Sep 2011 15:23:29
Which version are you using? In my memory 0.8.3 cannot do it correctly but
later versions fixed the bug.
從我的 BlackBerry® 無線裝置
-Original Message-
From: Ramesh S
Date: Thu, 29 Sep 2011 15:23:29
To:
Reply-To: user@cassandra.apache.org
Subject: create super column family for
I am trying
I missed the subcomparator. Probably this is the solution.
create column family ProductCategory
with column_type = 'Super'
and comparator = UTF8Type
WITH subcomparator = UTF8Type
AND key_validation_class=UTF8Type
AND column_metadata = [
{column_name: subProdName, validation_class: UTF8Type