You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2010/10/20 21:26:26 UTC

[jira] Commented: (CASSANDRA-1635) cli not picking up type annotation on set

    [ https://issues.apache.org/jira/browse/CASSANDRA-1635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12923111#action_12923111 ] 

Jonathan Ellis commented on CASSANDRA-1635:
-------------------------------------------

post-1615 I get

{code}
=> (column=626972746864617465, value=?, timestamp=1287602501548000)
{code}

Also, I noticed that it's actually sending

{code}
        thriftClient_.system_update_column_family(columnFamily);
{code}

when I use a conversion function.  this is not right, we should only issue system_update_column_family for "update column family" statements, anything else we infer should stay local.

> cli not picking up type annotation on set
> -----------------------------------------
>
>                 Key: CASSANDRA-1635
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1635
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 0.7.0
>            Reporter: Jonathan Ellis
>            Assignee: Pavel Yaskevich
>             Fix For: 0.7.0
>
>         Attachments: CASSANDRA-1635.patch
>
>
> {code}
> [default@Keyspace1] create column family Users
> create column family Users
> 737c7a71-dc56-11df-8240-e700f669bcfc
> [default@Keyspace1] set Users[jsmith][first] = 'John'
> set Users[jsmith][first] = 'John'
> Value inserted.
> [default@Keyspace1] set Users[jsmith][last] = 'Smith'
> set Users[jsmith][last] = 'Smith'
> Value inserted.
> [default@Keyspace1] set Users[jsmith][age] = long(42)
> set Users[jsmith][age] = long(42)
> Value inserted.
> [default@Keyspace1] get Users[jsmith]
> get Users[jsmith]
> => (column=6c617374, value=Smith, timestamp=1287584999695000)
> => (column=6669727374, value=John, timestamp=1287584990126000)
> => (column=616765, value=^@^@^@^@^@^@^@*, timestamp=1287585014593000)
> Returned 3 results.
> {code}

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