Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 38A95D858 for ; Tue, 25 Sep 2012 16:44:08 +0000 (UTC) Received: (qmail 66602 invoked by uid 500); 25 Sep 2012 16:44:08 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 66566 invoked by uid 500); 25 Sep 2012 16:44:08 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 66473 invoked by uid 99); 25 Sep 2012 16:44:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Sep 2012 16:44:07 +0000 Date: Wed, 26 Sep 2012 03:44:07 +1100 (NCT) From: "paul cannon (JIRA)" To: commits@cassandra.apache.org Message-ID: <36910660.123354.1348591447942.JavaMail.jiratomcat@arcas> In-Reply-To: <37188334.122374.1348584907914.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (CASSANDRA-4715) cqlsh doesn't properly decode reversed timestamps MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-4715?page=3Dcom.atlas= sian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D= 13462942#comment-13462942 ]=20 paul cannon commented on CASSANDRA-4715: ---------------------------------------- The CQL library didn't learn how to deal with parameterized validation clas= ses like ReversedType until the fairly heavy changes for the 1.1.0 version,= and Cassandra 1.1 only has python-cql 1.0.10 bundled with it. I'm not sure= how simple it would be to swap in 1.1; probably simple, but maybe not. I had intended just not to support displaying ReversedType values and so on= until cassandra 1.2's cqlsh, but maybe someone can pick it up. =20 > 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 | =E2=98=BA4-=C2=A3x? | 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 administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira