cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yasuharu Goto (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-10875) cqlsh decodes text column values as ascii in SELECT clause.
Date Wed, 16 Dec 2015 05:37:46 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-10875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Yasuharu Goto updated CASSANDRA-10875:
--------------------------------------
    Attachment:     (was: 10875-3.1.txt)

> cqlsh decodes text column values as ascii in SELECT clause.
> -----------------------------------------------------------
>
>                 Key: CASSANDRA-10875
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10875
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>            Reporter: Yasuharu Goto
>            Assignee: Yasuharu Goto
>            Priority: Minor
>
> Hi, we've found a bug that cqlsh can't handle unicode text in select conditions even
if it were text type.
> {noformat}
> $ ./bin/cqlsh
> Connected to Test Cluster at 127.0.0.1:9042.
> [cqlsh 5.0.1 | Cassandra 3.2-SNAPSHOT | CQL spec 3.3.1 | Native protocol v4]
> Use HELP for help.
> cqlsh> create KEYSPACE test WITH replication = {'class': 'SimpleStrategy', 'replication_factor':
1};
> cqlsh> create table test.test(txt text primary key);
> cqlsh> insert into test.test (txt) values('日本語');
> cqlsh> select * from test.test where txt='日本語';
> 'ascii' codec can't decode byte 0xe6 in position 35: ordinal not in range(128)
> cqlsh> 
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message