cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <>
Subject [jira] Commented: (CASSANDRA-29) Change value to binary from string
Date Mon, 20 Apr 2009 17:00:47 GMT


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

View raw message