cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-1635) cli not picking up type annotation on set
Date Wed, 20 Oct 2010 19:26:26 GMT

    [ 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.


Mime
View raw message