[
https://issues.apache.org/jira/browse/CASSANDRA-29?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12700852#action_12700852
]
Jonathan Ellis commented on CASSANDRA-29:
-----------------------------------------
For the record, the old code was potentially buggy because it assumed any
string passed could be decoded as UTF-8. This is the case when the client is
also Java code but not for other languages such as Python or C++. (Thrift is
not consistent in how it treats strings, but it is always consistent with
binary.)
> Change value to binary from string
> ----------------------------------
>
> Key: CASSANDRA-29
> URL: https://issues.apache.org/jira/browse/CASSANDRA-29
> Project: Cassandra
> Issue Type: Improvement
> Reporter: Johan Oskarsson
> Assignee: Jonathan Ellis
> Fix For: 0.3
>
> Attachments: 29-v2.patch, CASSANDRA-29.patch
>
>
> In the thrift interface the value is of type string but internally in
> Cassandra it is handled as a byte array. Exposing the value as thrift type
> binary would avoid conversions and charset issues.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.