cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aaron morton <>
Subject Re: composite columns vs super columns
Date Tue, 10 Apr 2012 10:12:28 GMT
Super Columns: top level column to have a list of sub column.
row key: foo
column: bar
sub columns: 
	baz = qux 

Composite columns: data types are defined by combining multiple types, instances of the type
are compared by comparing each component in turn.
row key: foo
column: <bar:baz> = qux

in general prefer composite columns over super columns. 


Aaron Morton
Freelance Developer

On 10/04/2012, at 4:39 AM, Michael Cherkasov wrote:

> Hi all,
> Can someone describe difference between super and composite columns?
> And describe when each type is preferred to use?
> Thanks.

View raw message