cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Lebresne (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-2474) CQL support for compound columns and wide rows
Date Fri, 13 Jan 2012 18:18:41 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-2474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sylvain Lebresne updated CASSANDRA-2474:
----------------------------------------

    Attachment: 0002-thrift-generated-code.patch
                0001-Add-support-for-wide-and-composite-CFs.patch

Attaching initial patch. It's not complete but close I believe and presentable enough that
whoever wants to review can start looking at it.

First, the things that are not working/not ready:
* LIMIT: as said previously, I'll have to do CASSANDRA-3742 before.
* The '..' notation is broken. The syntax still supports it but it's ignored right now. I'll
probably add back the support (keeping the resultset has previously for backward compatibility).

It would be worth running a number of existing CQL tests against this to see if there is other
broken backward compatibility problem but I haven't yet done it.

On the other side, the tests I previously attached (cql_test.py) are all passing with this
patch.

There is also a few simple improvements that could be done that I've not done yet by lack
of time:
* There is no query that translate to a query-by-name on 'compact' CF (dynamic or composite
dense ones). Allowing it would mean allowing IN relation for the last part of multi-component
PRIMARY KEY.
* As I was hinting in a previous comment, select, update and delete now have a post-parsing
validation/preprocessing phase that is not totally trivial. He would be a little more efficient
(and not hard) to make that preprocessing parts of the prepared statements preparation.

                
> CQL support for compound columns and wide rows
> ----------------------------------------------
>
>                 Key: CASSANDRA-2474
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2474
>             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,
cql_tests.py, 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message