You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Tyler Patterson (Created) (JIRA)" <ji...@apache.org> on 2012/03/08 20:39:57 UTC
[jira] [Created] (CASSANDRA-4024) cqlsh: Unicode characters break
SELECT output
cqlsh: Unicode characters break SELECT output
---------------------------------------------
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
notice the 'æ' character in the INSERT statement.
{code}
CREATE COLUMNFAMILY cf (KEY text primary key) WITH default_validation=text AND comparator=text;
INSERT INTO cf (KEY, col1) VALUES ('a', 'æ');
SELECT * FROM cf WHERE key='a';
{code}
When selecting back out this error happens:
'ascii' codec can't decode byte 0xc3 in position 9: ordinal not in range(128)
--
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
[jira] [Resolved] (CASSANDRA-4024) cqlsh: Unicode characters break
SELECT output for dynamic columnfamilies
Posted by "paul cannon (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-4024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
paul cannon resolved CASSANDRA-4024.
------------------------------------
Resolution: Duplicate
Ok cool.
Dupe of CASSANDRA-4003.
> 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
[jira] [Commented] (CASSANDRA-4024) cqlsh: Unicode characters break
SELECT output for dynamic columnfamilies
Posted by "paul cannon (Commented) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Updated] (CASSANDRA-4024) cqlsh: Unicode characters break
SELECT output for dynamic columnfamilies
Posted by "Tyler Patterson (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-4024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tyler Patterson updated CASSANDRA-4024:
---------------------------------------
Description:
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.
was:
notice the 'æ' character in the INSERT statement.
{code}
CREATE COLUMNFAMILY cf (KEY text primary key) WITH default_validation=text AND comparator=text;
INSERT INTO cf (KEY, col1) VALUES ('a', 'æ');
SELECT * FROM cf WHERE key='a';
{code}
When selecting back out this error happens:
'ascii' codec can't decode byte 0xc3 in position 9: ordinal not in range(128)
Summary: cqlsh: Unicode characters break SELECT output for dynamic columnfamilies (was: cqlsh: Unicode characters break SELECT output)
> 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
> Labels: 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
[jira] [Updated] (CASSANDRA-4024) cqlsh: Unicode characters break
SELECT output for dynamic columnfamilies
Posted by "Tyler Patterson (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-4024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tyler Patterson updated CASSANDRA-4024:
---------------------------------------
Assignee: paul cannon
> 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
[jira] [Updated] (CASSANDRA-4024) cqlsh: Unicode characters break
SELECT output for dynamic columnfamilies
Posted by "Tyler Patterson (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-4024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tyler Patterson updated CASSANDRA-4024:
---------------------------------------
Labels: cql cqlsh (was: cqlsh)
> 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
> 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
[jira] [Commented] (CASSANDRA-4024) cqlsh: Unicode characters break
SELECT output for dynamic columnfamilies
Posted by "Tyler Patterson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-4024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13226939#comment-13226939 ]
Tyler Patterson commented on CASSANDRA-4024:
--------------------------------------------
This works with the patch mentioned in CASSANDRA-4003.
> 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