You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Guofeng Zhang <gu...@gmail.com> on 2011/05/05 12:19:01 UTC

CQL v1.0.0: why super column family not descirbed in it?

Hi,



I read the CQL v1.0 document. There are operations about column families,
but it does not describe how to operate on super column families. Why? Does
this mean that super column families would not be supported by CQL in this
version? Will it be supported in the future?



Thanks.



Guofeng

Re: CQL v1.0.0: why super column family not descirbed in it?

Posted by Victor Kabdebon <vi...@gmail.com>.
Thank you, I will look into that and I will probably wait until there is an
"out of the box" comparator. But it's an excellent new feature !

Regards,
Victor K.

2011/5/5 Eric Evans <ee...@rackspace.com>

> On Thu, 2011-05-05 at 10:49 -0400, Victor Kabdebon wrote:
> > Hello Eric,
> >
> > Compound columns seem to be a very interesting feature. Do you have any
> idea
> > in which Cassandra version it is going to be introduced : 0.8.X or 0.9.X
> ?
>
> You can use these today with a custom comparator[1].  There is an open
> issue[2] (marked as for-0.8.1) to ship one out-of-the-box.
>
> Language support[3] for CQL will probably take a bit longer.
>
> [1]: https://github.com/edanuff/CassandraCompositeType
> [2]: https://issues.apache.org/jira/browse/CASSANDRA-2231
> [3]: https://issues.apache.org/jira/browse/CASSANDRA-2474
>
> --
> Eric Evans
> eevans@rackspace.com
>
>

Re: CQL v1.0.0: why super column family not descirbed in it?

Posted by Eric Evans <ee...@rackspace.com>.
On Thu, 2011-05-05 at 10:49 -0400, Victor Kabdebon wrote:
> Hello Eric,
> 
> Compound columns seem to be a very interesting feature. Do you have any idea
> in which Cassandra version it is going to be introduced : 0.8.X or 0.9.X ?

You can use these today with a custom comparator[1].  There is an open
issue[2] (marked as for-0.8.1) to ship one out-of-the-box.

Language support[3] for CQL will probably take a bit longer.

[1]: https://github.com/edanuff/CassandraCompositeType
[2]: https://issues.apache.org/jira/browse/CASSANDRA-2231
[3]: https://issues.apache.org/jira/browse/CASSANDRA-2474

-- 
Eric Evans
eevans@rackspace.com


Re: CQL v1.0.0: why super column family not descirbed in it?

Posted by Victor Kabdebon <vi...@gmail.com>.
Hello Eric,

Compound columns seem to be a very interesting feature. Do you have any idea
in which Cassandra version it is going to be introduced : 0.8.X or 0.9.X ?

Thanks,

Victor

2011/5/5 Eric Evans <ee...@rackspace.com>

> On Thu, 2011-05-05 at 18:19 +0800, Guofeng Zhang wrote:
> > I read the CQL v1.0 document. There are operations about column
> > families, but it does not describe how to operate on super column
> > families. Why? Does this mean that super column families would not be
> > supported by CQL in this version? Will it be supported in the future?
>
> No CQL will never support super columns, but later versions (not 1.0.0)
> will support compound columns.  Compound columns are better; instead of
> a two-deep structure, you can have one of arbitrary depth.
>
> What you see is what you get for 1.0.0, there simply wasn't enough time
> to do everything (you have to start somewhere).
>
> --
> Eric Evans
> eevans@rackspace.com
>
>

Re: CQL v1.0.0: why super column family not descirbed in it?

Posted by Eric Evans <ee...@rackspace.com>.
On Thu, 2011-05-05 at 18:19 +0800, Guofeng Zhang wrote:
> I read the CQL v1.0 document. There are operations about column
> families, but it does not describe how to operate on super column
> families. Why? Does this mean that super column families would not be
> supported by CQL in this version? Will it be supported in the future? 

No CQL will never support super columns, but later versions (not 1.0.0)
will support compound columns.  Compound columns are better; instead of
a two-deep structure, you can have one of arbitrary depth.

What you see is what you get for 1.0.0, there simply wasn't enough time
to do everything (you have to start somewhere).

-- 
Eric Evans
eevans@rackspace.com