[
https://issues.apache.org/jira/browse/CASSANDRA-1687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pavel Yaskevich updated CASSANDRA-1687:
---------------------------------------
Attachment: CASSANDRA-1687.patch
This also fixes a bug from CASSANDRA-1728
Example:
{code}
connect localhost/9160
create keyspace Tests
use Tests
create column family DynamicColumns
set DynamicColumns[1][timeuuid()] = utf8('hello')
set DynamicColumns[2][lexicaluuid()] = utf8('hello world!')
set DynamicColumns[3][lexicaluuid(550e8400-e29b-41d4-a716-446655440000)] =
utf8(test)
set DynamicColumns[key2][timeuuid()] = utf8('cassandra')
set DynamicColumns['key 12'][550e8400-e29b-41d4-a716-446655440000] =
utf8('hello friendly world')
assume DynamicColumns comparator as lexicaluuid
assume DynamicColumns keys as utf8
list DynamicColumns
get DynamicColumns[3]
get DynamicColumns[3][lexicaluuid(550e8400-e29b-41d4-a716-446655440000)]
drop keyspace Tests
{code}
> Add UUID functions to cli
> -------------------------
>
> Key: CASSANDRA-1687
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1687
> Project: Cassandra
> Issue Type: New Feature
> Components: Tools
> Reporter: Jonathan Ellis
> Assignee: Pavel Yaskevich
> Priority: Minor
> Fix For: 0.7.0
>
> Attachments: CASSANDRA-1687.patch
>
>
> Add timeuuid and lexicaluuid functions to the cli:
> set timeline[jbellis][timeuuid()] = ...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.