This is a definitely a bug not an improvement

The python thrift client is unusable without utf8 or unicode as much of the web is utf8 or unicode
https://issues.apache.org/jira/browse/THRIFT-395

jonathan, cpython is the default way to use in django, pylons or any of the other frameworks
using jython or java is not an option

If someone can tell how hard this is to fix python thrift client, it would tell me if we can use cassandra or not

On Tue, Jul 21, 2009 at 2:18 PM, <mobiledreamers@gmail.com> wrote:
Hey jonathan
this is not in the wiki or any documentation. Give that searching for UTF8Type gave the tag of
addingCompareWith="UTF8Type"
<ColumnFamily ColumnType="Super" Name="Super1"/>

All my inserts and queries go to a super column family Super1

So should i change this to

<ColumnFamily ColumnType="Super" CompareWith="UTF8Type" Name="Super1"/>

does this work in python thrift
if it does - that would be perfect

but this doesnt explain why keys cannot be utf8

thanks

On Tue, Jul 21, 2009 at 2:06 PM, Jonathan Ellis <jbellis@gmail.com> wrote:
did you read the new section in the config xml explaining how to use a
UTF8 comparator?

also: thrift itself is just plain broken for unicode support in some
languages; see THRIFT-395

I think the short version is that when you have a java server, unicode
will work with java or C# clients but not with anything else

(so if you are using a python client for instance switching to jython
might be a workaround)

On Tue, Jul 21, 2009 at 4:00 PM, <mobiledreamers@gmail.com> wrote:
> Not fixed
> The following utf8 key names and column names still give an error.
> cass: 2009-07-21 13:55:35,597 error 98.
>
> ] (1)icasso's, instruments de musique sur un guéridon] (1)[irancel]
> (1)
> cass: 2009-07-21 13:55:55,093 error 377. friday night lights
> s03e01[megaupload..50 error 321. instruments de musique sur un guéridon[[
> com
> cass: 2009-07-21 13:56:12,341 error 637. asuka izumi photos[u15 童]
> (1)
> cass: 2009-07-21 13:56:39,380 error 1118. dragonball z games for pc[dragon
> balĺz pc games download] (1)
> cass: 2009-07-21 13:56:48,976 error 1301. ﺭ ﺳ[ﺭ ﺳ
>
> 导海诱奸导女] ((1)2009-07-21 13:56:55,352 error 1430.
> 海[大
> cass: 2009-07-21 13:56:59,287 error 1510. cinquième république[définition
> de république?] (1) 导海] (1)
> cass: 2009-07-21 13:59:38,783 error 1842. navaratri kolu[doll festival in
> navratt
> ri golu] (1)
> cass: 2009-07-21 13:59:39,069 error 1846. tn lottery winning
> numbers[www.tnlottery] (1)
> cass: 2009-07-21 13:59:39,274 error 1850. www.buildabearville.com cheats[all
> the buildabear.com cheats and codes] (1)
> cass: 2009-07-21 13:59:39,773 error 1860. shippuuden 78[naruto shippuuden 78
> subbed torrent] (1)
>
> On Tue, Jul 21, 2009 at 10:34 AM, Eric Evans <eevans@rackspace.com> wrote:
>>
>> On Tue, 2009-07-21 at 09:18 -0700, mobiledreamers@gmail.com wrote:
>> > Is there any timeline on when commit 185 will be done as the utf8
>> > error still exists
>>
>> 185 was committed yesterday.
>>
>> https://issues.apache.org/jira/browse/CASSANDRA-185
>>
>> --
>> Eric Evans
>> eevans@rackspace.com
>>
>
>
>
> --
> Bidegg worlds best auction site
> http://bidegg.com
>



--
Bidegg worlds best auction site
http://bidegg.com



--
Bidegg worlds best auction site
http://bidegg.com