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/09 19:01:00 UTC

[jira] [Created] (CASSANDRA-4033) cqlsh: double wide unicode chars cause incorrect padding in select output

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

       

[jira] [Updated] (CASSANDRA-4033) cqlsh: double wide unicode chars cause incorrect padding in select output

Posted by "paul cannon (Updated) (JIRA)" <ji...@apache.org>.
     [ 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

       

[jira] [Updated] (CASSANDRA-4033) cqlsh: double wide unicode chars cause incorrect padding in select output

Posted by "paul cannon (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-4033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

          Component/s: Tools
    Affects Version/s: 1.0.5
        Fix Version/s: 1.1.0
                       1.0.9
    
> 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