You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sylvain Lebresne (JIRA)" <ji...@apache.org> on 2012/10/03 09:50:08 UTC

[jira] [Updated] (CASSANDRA-4717) cqlsh fails to format values of ReversedType-wrapped classes

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

Sylvain Lebresne updated CASSANDRA-4717:
----------------------------------------

    Attachment: 4717-1.1.txt
                4717.txt

Attaching patch to skip returning a ReversedType to CQL3 clients. I'm attaching a separate patch for 1.1 and trunk because they are different enough.
                
> cqlsh fails to format values of ReversedType-wrapped classes
> ------------------------------------------------------------
>
>                 Key: CASSANDRA-4717
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4717
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.1.0
>            Reporter: paul cannon
>            Assignee: paul cannon
>            Priority: Minor
>              Labels: cqlsh
>             Fix For: 1.1.6
>
>         Attachments: 4717-1.1.txt, 4717.patch.txt, 4717-test.patch.txt, 4717.txt
>
>
> See the test case for CASSANDRA-4715, but run it on trunk. The ReversedType-wrapped column (rdate) will be displayed as a floating-point integer (it gets deserialized into a native type correctly, but cqlsh's format-according-to-type machinery doesn't know how to handle the cqltypes.ReversedType subclass.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira