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

Fix 2.0 key and column aliases serialization and cqlsh DESC SCHEMA

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Duplicate
    • 2.0 beta 1
    • Legacy/Tools
    • None
    • Low

    Description

      CASSANDRA-5125 made a slight change to how key_aliases and column_aliases are serialized in schema. Prior to that we never kept nulls in the the json pseudo-lists. This does break cqlsh and probably breaks 1.2 nodes receiving such migrations as well. The patch reverts this behavior and also slightly modifies cqlsh itself to ignore non-regular columns from system.schema_columns table.

      This patch breaks nothing, since 2.0 already handles 1.2 non-null padded alias lists.

      Attachments

        1. 5489.txt
          3 kB
          Sylvain Lebresne
        2. 5489.txt
          2 kB
          Aleksey Yeschenko
        3. 5489-1.2.txt
          3 kB
          Sylvain Lebresne

        Activity

          People

            slebresne Sylvain Lebresne
            aleksey Aleksey Yeschenko
            Sylvain Lebresne
            Aleksey Yeschenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: