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

Dropping the last collection column turns CompoundSparseCellNameType$WithCollection into CompoundDenseCellNameType

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 2.0.10, 2.1.0
    • None
    • None
    • Normal

    Description

      Dropping the last collection column turns CompoundSparseCellNameType$WithCollection into CompoundDenseCellNameType

      To reproduce

      cqlsh:test> create table test (id int primary key, col map<int,int>);
      cqlsh:test> alter table test drop col;
      cqlsh:test> alter table test add col list<int>;
      code=2200 [Invalid query] message="Cannot add new column to a COMPACT STORAGE table"
      

      Attachments

        1. 7744.txt
          10 kB
          Sylvain Lebresne

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: