cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Lebresne <>
Subject Re: Compound columns spec
Date Thu, 05 May 2011 15:29:08 GMT
I think for CQL there is two different things:
  1) how the request will look like. I think that it is what Eric is
      refering to when he says "colon delimited". So a query will
      look like "SELECT foo:42:bar ...."
  2) and there is the actual byte format  in which the column name will
      be stored in Cassandra.

I think what you are interested in is 2). My opinion is that it will make a
lot of sense to use the CompositeType of CASSANDRA-2231 for that
and I don't think why it would not (Eric can correct me). However,
absolutely none of this is set in stone and if you code against that
assumption, let it be clear that there is no guarantee whatsoever about
what will be chosen for 1) and for 2).


On Thu, May 5, 2011 at 5:14 PM, Eric Evans <> wrote:
> On Thu, 2011-05-05 at 17:44 +0300, David Boxenhorn wrote:
>> Is there a spec for compound columns?
>> I want to know the exact format of compound columns so I can adhere to
>> it. For example, what is the separator - or is some other format used
>> (e.g. length:value or type:length:value)?
> Tentatively, CQL will use colon delimited terms like this, yes
> (tentatively).
> --
> Eric Evans

View raw message