JIRA ticket
https://issues.apache.org/jira/browse/CASSANDRA-2614





On Fri, May 6, 2011 at 5:33 AM, Dave Rav <daver...@yahoo.com> wrote:
> can I use 'Colunm' and  'CounterColumn' in the same 'column family'?

No you cannot. As of 0.8.0 you have either counter column family or column
family without counters. But I'll admit that right off the bat I don't see any
technical blocker to do what you're proposing. It actually make sense.

Would you mind opening a JIRA ticket for that ? I'll look into it.

--
Sylvain

>
> create column family User with
> comparator = UTF8Type and
> column_metadata =   [
>    {column_name: first, validation_class: UTF8Type},
>    {column_name: last, validation_class: UTF8Type},
>    {column_name: friends, validation_class: CounterColumnType}   ];
>
>
>
> if
> default_validation_class: CounterColumnType
> column 'set' fail
>
>
> and if
> default_validation_class: UTF8Type
> CounterColumn 'incr' fail

Reply via email to