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-3980) Cli should be able to define CompositeType comparators
Date Wed, 29 Feb 2012 15:21:57 GMT


Sylvain Lebresne commented on CASSANDRA-3980:

Hum, what I mean is that on the 1.0 branch, in the cli, you can do:
[default@test] create column family cf with comparator='CompositeType(UTF8Type, Int32Type)';
Waiting for schema agreement...
... schemas agree across the cluster
[default@test] set cf[a]['foo:3'] = 3;
Value inserted.
Elapsed time: 48 msec(s).
[default@test] get cf[a];
=> (column=foo:3, value=03, timestamp=1330528624015000)
Returned 1 results.
Elapsed time: 43 msec(s).

I agree that an example in the help would be great, and I suppose we could update the CLI
so that you don't need the quotes at all (though imho it's not worth the trouble), but it
> Cli should be able to define CompositeType comparators
> ------------------------------------------------------
>                 Key: CASSANDRA-3980
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Brandon Williams
>            Assignee: Pavel Yaskevich
>             Fix For: 1.0.9
> There is currently no way to define, for instance, CompositeType(UTF8Type,Int32Type)
in a CF definition.  

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