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

Cqlsh shouldn't display empty "value alias"

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 2.0.2
    • Component/s: None
    • Labels:
      None
    • Severity:
      Low

      Description

      When someone creates:

      CREATE TABLE foo (
         k int,
         v int,
         PRIMARY KEY (k, v)
      ) WITH COMPACT STORAGE
      

      then we internally create a "value alias" (1.2)/"compact value definition" (2.0) with an empty name. Seems that cqlsh don't recognize that fact and display that as:

      cqlsh:ks> DESC TABLE foo;
      
      CREATE TABLE foo (
        k int,
        v int,
        "" blob,
        PRIMARY KEY (k, v)
      ) WITH COMPACT STORAGE AND ...
      

        Attachments

        1. 6139.txt
          0.6 kB
          Aleksey Yeschenko

          Activity

            People

            • Assignee:
              aleksey Aleksey Yeschenko
              Reporter:
              slebresne Sylvain Lebresne
              Authors:
              Aleksey Yeschenko
              Reviewers:
              Brandon Williams
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: