cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Lebresne (Commented) (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-2474) CQL support for compound columns and wide rows
Date Mon, 16 Jan 2012 16:30:41 GMT


Sylvain Lebresne commented on CASSANDRA-2474:

bq. I think the best option here is to keep the old cql around in whatever form it currently
is and start fresh with this transposed approach

I actually think this may be the best idea to move forward. The proposals this ticket makes
go farther than the initial proposition of supporting composites. It also adds a reasonable
support for wide rows, and while doing that, it allows for a number of other changes that
makes the language more regular. I am convinced that those changes are for the better, and
so far I have see no other argument against except for compatibility break. But it's actually
more complicated (and to a point contradictory) to add this while keeping backward compatibility.

So following Jake's idea, I propose to create a new cql3 package in the code to implement
the ideas of this ticket without the burden of keeping backward compatibility, nor the fear
to break previous versions. We would then make it clear that this new version is beta for
1.1 and it would be opt-in at this point. Which would give us time to get feedback from the
community, but at least we'd get feedback on an actual implementation. And of course, it would
leave us the choice to adjust on a number of details. This probably mean we'll want to add
a new version parameter to the thrift call or something but that's probably a good thing to
have anyway.
> CQL support for compound columns and wide rows
> ----------------------------------------------
>                 Key: CASSANDRA-2474
>                 URL:
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: API, Core
>            Reporter: Eric Evans
>            Assignee: Sylvain Lebresne
>            Priority: Critical
>              Labels: cql
>             Fix For: 1.1
>         Attachments: 0001-Add-support-for-wide-and-composite-CFs.patch, 0002-thrift-generated-code.patch,
2474-transposed-1.PNG, 2474-transposed-raw.PNG, 2474-transposed-select-no-sparse.PNG, 2474-transposed-select.PNG,, raw_composite.txt, screenshot-1.jpg, screenshot-2.jpg
> For the most part, this boils down to supporting the specification of compound column
names (the CQL syntax is colon-delimted terms), and then teaching the decoders (drivers) to
create structures from the results.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message