[
https://issues.apache.org/jira/browse/CASSANDRA-4424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Ellis resolved CASSANDRA-4424.
---------------------------------------
Resolution: Invalid
Comparator is implicitly defined by compound PKs in cql3.
> CQL3: support comparator for dynamic CFs
> ----------------------------------------
>
> Key: CASSANDRA-4424
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4424
> Project: Cassandra
> Issue Type: Improvement
> Components: API
> Reporter: Ahmet AKYOL
> Labels: cql3
>
> AFAIK, we can't define "comparator" with cql3 while we can do it with cli.
> Maybe, CQL3 is for strict schema designs currently but comparator is the only
> thing that makes dynamic CFs organized. So, IMHO, this is essential for cql3.
> there can be a special syntax for making ReversedType comparator usage easier
> :
> {code}
> CREATE TABLE ( id varchar PRIMARY KEY ) WITH WIDENING ORDER BY (uuid DESC);
> {code}
> or just add comparator keyword support:
> {code}
> CREATE TABLE ( id varchar PRIMARY KEY ) WITH comparator=uuid;
> {code}
> I guess this issue has to wait
> [CASSANDRA-4361|https://issues.apache.org/jira/browse/CASSANDRA-4361]
--
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