You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "paul cannon (Commented) (JIRA)" <ji...@apache.org> on 2012/03/09 06:19:59 UTC

[jira] [Commented] (CASSANDRA-4024) cqlsh: Unicode characters break SELECT output for dynamic columnfamilies

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

paul cannon commented on CASSANDRA-4024:
----------------------------------------

I'm pretty sure this is CASSANDRA-4003 again. Can you try this with the patch from there applied?
                
> cqlsh: Unicode characters break SELECT output for dynamic columnfamilies
> ------------------------------------------------------------------------
>
>                 Key: CASSANDRA-4024
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4024
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: ubuntu, cqlsh from trunk
>            Reporter: Tyler Patterson
>            Assignee: paul cannon
>              Labels: cql, cqlsh
>
> notice the 'æ' character in the second INSERT statement.
> {code}
> CREATE COLUMNFAMILY cf (KEY text primary key) WITH default_validation=text AND comparator=text;
> INSERT INTO cf (KEY, col1) VALUES ('b', 'b');
> INSERT INTO cf (KEY, col2) VALUES ('a', 'æ');
> SELECT * FROM cf WHERE key in ('a', 'b');
> {code}
> When selecting back out this error happens:
> 'ascii' codec can't decode byte 0xc3 in position 9: ordinal not in range(128)
> If the selection does not include a range of keys, then the error doesn't happen. Also, different keys must be present in the output.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira