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
         Environment: Using the patch pending/4003
            Reporter: Tyler Patterson
            Assignee: paul cannon
            Priority: Trivial


{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