cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "paul cannon (JIRA)" <>
Subject [jira] [Created] (CASSANDRA-4546) cqlsh: handle when full cassandra type class names are given
Date Tue, 14 Aug 2012 23:29:38 GMT
paul cannon created CASSANDRA-4546:

             Summary: cqlsh: handle when full cassandra type class names are given
                 Key: CASSANDRA-4546
             Project: Cassandra
          Issue Type: Bug
          Components: Tools
    Affects Versions: 1.2
            Reporter: paul cannon
            Assignee: paul cannon
             Fix For: 1.2

When a builtin Cassandra type was being used for data in previous versions of Cassandra, only
the short name was sent: "UTF8Type", "TimeUUIDType", etc. Starting with 1.2, as of CASSANDRA-4453,
the full class names are sent.

Cqlsh doesn't know how to handle this, and is currently treating all data as if it were an
unknown type. This goes as far as to cause an exception when the type is actually a number,
because the driver deserializes it right, and then cqlsh tries to use it as a string.

Here for googlage:

AttributeError: 'int' object has no attribute 'replace'

Fixeries are in order.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message