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/09/26 14:29:16 UTC

[jira] [Resolved] (CASSANDRA-4715) cqlsh doesn't properly decode reversed timestamps

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

Sylvain Lebresne resolved CASSANDRA-4715.
-----------------------------------------

    Resolution: Duplicate

This is a duplicate of CASSANDRA-4717 (at least the solution is the same).
                
> cqlsh doesn't properly decode reversed timestamps
> -------------------------------------------------
>
>                 Key: CASSANDRA-4715
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4715
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1.0
>            Reporter: T Jake Luciani
>            Priority: Minor
>              Labels: cqlsh
>             Fix For: 1.1.6
>
>
> Example:
> {code}
> cqlsh:test>
> cqlsh:test> CREATE TABLE testrev (
>         ... key text,
>         ... rdate timestamp,
>         ... num double,
>         ... PRIMARY KEY(key,rdate)
>         ... ) WITH COMPACT STORAGE
>         ...   AND CLUSTERING ORDER BY(rdate DESC);
> cqlsh:test> INSERT INTO testrev(key,rdate,num) VALUES ('foo','2012-01-01',10.5);
> cqlsh:test> select * from test
> test.    testrev
> cqlsh:test> select * from testrev ;
>  key | rdate    | num
> -----+----------+------
>  foo |   ☺4-£x? | 10.5
> Failed to decode value '\x00\x00\x014\x97\xa3x\x80' (for column 'rdate') as 'org.apache.cassandra.db.marshal.ReversedType': global name 'self' is
> not defined
> cqlsh:test>
> {code}

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