Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-4717

cqlsh fails to format values of ReversedType-wrapped classes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.1.6
    • Legacy/Tools
    • Low

    Description

      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.

      Attachments

        1. 4717-1.1.txt
          5 kB
          Sylvain Lebresne
        2. 4717.txt
          3 kB
          Sylvain Lebresne
        3. 4717-test.patch.txt
          2 kB
          paul cannon
        4. 4717.patch.txt
          0.6 kB
          paul cannon

        Activity

          People

            slebresne Sylvain Lebresne
            thepaul paul cannon
            Sylvain Lebresne
            T Jake Luciani
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: