You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Pavel Yaskevich (JIRA)" <ji...@apache.org> on 2010/10/16 00:00:39 UTC

[jira] Updated: (CASSANDRA-1603) cli: allow entering binary data to columns with no metadata

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

Pavel Yaskevich updated CASSANDRA-1603:
---------------------------------------

    Attachment: CASSANDRA-1603.patch

Examples:

set Category['my task'][time_spent] = lexicaluuid(00048df6-faef-2bb5-2772-4e30d6b86086)
get Category['my task'][time_spent] as TimeUUIDType


set Foo[bar][name] = utf8('this is utf8 string')



> cli: allow entering binary data to columns with no metadata
> -----------------------------------------------------------
>
>                 Key: CASSANDRA-1603
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1603
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>            Reporter: Jonathan Ellis
>            Assignee: Pavel Yaskevich
>             Fix For: 0.7.0
>
>         Attachments: CASSANDRA-1603.patch
>
>
> CASSANDRA-1578 adds support for when we have metadata for the column in the schema, but we should also allow manually turning a given string into a binary format.
> one option would be to allow something like
> {code}
> set CF[column]=timeuuid(12345678-1234-5678-1234-567812345678)
> {code}
> but this only allows data entry, and would not help when doing gets.
> maybe adding a cli command "assume column family with ..." would be best, allowing the operator to create local metadata that unlike "update columnfamily" doesn't get sent to the server.  (saving the local metadata between cli sessions would be good.)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.