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

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

bq. my test (after applied CASSANDRA-1635.patch to the latest trunk): 

Ah, I thought when you said "Please check after 1615 committed" that 1615 was 
supposed to fix it.  I do see value working correctly after 1635 patch.  
committed.

bq. convertValueByFunction method then it has boolean withUpdate argument which 
used to determine if system update is need, I have also added polymorphic 
convertValueByFunction 3 arguments: columnFamily, columnName and tree argument, 
which calls convertValueByFunction with withUpdate set to false.

something is definitely buggy, when I watch the server log I can see it 
applying the schema migration after the long() set.

fundamentally side effects to thriftclient have no business in the convertValue 
method.  update local schema? yes. update server schema? no.

> 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}
> [defa...@keyspace1] create column family Users
> create column family Users
> 737c7a71-dc56-11df-8240-e700f669bcfc
> [defa...@keyspace1] set Users[jsmith][first] = 'John'
> set Users[jsmith][first] = 'John'
> Value inserted.
> [defa...@keyspace1] set Users[jsmith][last] = 'Smith'
> set Users[jsmith][last] = 'Smith'
> Value inserted.
> [defa...@keyspace1] set Users[jsmith][age] = long(42)
> set Users[jsmith][age] = long(42)
> Value inserted.
> [defa...@keyspace1] get Users[jsmith]
> get Users[jsmith]
> => (column=6c617374, value=Smith, timestamp=1287584999695000)
> => (column=6669727374, value=John, timestamp=1287584990126000)
> => (column=616765, valu...@^@^...@^@^...@^@^...@*, 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.

Reply via email to