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

paul cannon updated CASSANDRA-4033:
-----------------------------------

    Reviewer: brandon.williams
    
> cqlsh: double wide unicode chars cause incorrect padding in select output
> -------------------------------------------------------------------------
>
>                 Key: CASSANDRA-4033
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4033
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.0.5
>         Environment: Using the patch pending/4003
>            Reporter: Tyler Patterson
>            Assignee: paul cannon
>            Priority: Trivial
>              Labels: cql, cqlsh
>             Fix For: 1.0.9, 1.1.0
>
>
> {code}
> CREATE COLUMNFAMILY cf3 (KEY text primary key);
> INSERT INTO cf3 (KEY, col1, col2) VALUES ('a', '1234 1234 1234 1234', 'abcd');
> INSERT INTO cf3 (KEY, col1, col2) VALUES ('b', '愛愛愛愛 愛愛愛愛 愛愛愛愛 愛愛愛愛', 'abcd');
> SELECT * FROM cf3 WHERE key in ('a', 'b');
> {code}
> produces this output:
> {code}
>  KEY | col1                                                | col2
> -----+-----------------------------------------------------+------
>    a |                                 1234 1234 1234 1234 | abcd
>    b |                       愛愛愛愛 愛愛愛愛 愛愛愛愛 愛愛愛愛 | abcd
> {code}
> note the extra spaces before the "love" glyphs.

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


Reply via email to