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

cqlsh fails to format values of ReversedType-wrapped classes

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 1.1.6
    • Component/s: Legacy/Tools
    • Labels:
    • Severity:
      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.patch.txt
          0.6 kB
          paul cannon
        2. 4717-test.patch.txt
          2 kB
          paul cannon
        3. 4717.txt
          3 kB
          Sylvain Lebresne
        4. 4717-1.1.txt
          5 kB
          Sylvain Lebresne

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: