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-3761) CQL 3.0
Date Tue, 24 Jan 2012 13:48:40 GMT

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

Sylvain Lebresne updated CASSANDRA-3761:
----------------------------------------

    Attachment: 0004-Thrift-gen-files-v2.patch
                0003-Makes-batches-atomic-v2.patch
                0002-Add-support-for-switching-the-CQL-version-v2.patch
                0001-CQL-3.0-v2.patch

Attached rebased and update patch set. I've mainly:
* Refactored a bit using the 'builder approach' I talked earlier on. It does simplify a bunch
of case. I've removed the CFDefinition.Kind enum and instead keep just two isComposite and
isCompact flags. It's equivalent to the previous enum but maybe more clear and in any case
we now have the code for dense and dynamic that are always shared, and the one for static
and sparse almost always too.
* Removed support for adding non-EQ clause on the row keys with RP (we'll deal with it in
CASSANDRA-3771).
* Change the behavior of selecting on composite without giving all the components. It'll now
select all the record having the given prefix (for which we don't really need CASSANDRA_3237).
Ok for adding null support later

To avoid rebase problem I've also pushed the branch on https://github.com/pcmanus/cassandra/tree/cql3
(6fdf3447b29f36050).
For the tests, I have them all passing here, but for the 'assert_invalid', I added it to dtests
but forgot to push it publicly. I've created https://github.com/riptano/cassandra-dtest/tree/cql3_tests
with an updated version of the tests (I only tested cql_test.py on this branch so far).

                
> CQL 3.0
> -------
>
>                 Key: CASSANDRA-3761
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3761
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: API
>            Reporter: Sylvain Lebresne
>            Assignee: Sylvain Lebresne
>            Priority: Critical
>              Labels: cql
>             Fix For: 1.1
>
>         Attachments: 0001-CQL-3.0-v2.patch, 0001-CQL-3.0.patch, 0002-Add-support-for-switching-the-CQL-version-v2.patch,
0002-Add-support-for-switching-the-CQL-version.patch, 0003-Makes-batches-atomic-v2.patch,
0003-Makes-batches-atomic.patch, 0004-Thrift-gen-files-v2.patch, 0004-Thrift-gen-files.patch,
cql_tests.py, create_cf_syntaxes.txt
>
>
> This ticket is a reformulation/generalization of CASSANDRA-2474. The core change of CQL
3.0 is to introduce the new syntaxes that were discussed in CASSANDRA-2474 that allow to:
> # Provide a better/more native support for wide rows, using the idea of transposed vie.
> # The generalization to composite columns.
> The attached text file create_cf_syntaxes.txt recall the new syntaxes introduced.
> The changes proposed above allow (and strongly suggest in some cases) a number of other
changes to the language that this ticket proposes to explore/implement (more details coming
in the comments).

--
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