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

Cells missing from compact storage table after upgrading from 2.1.9 to 3.7

    XMLWordPrintableJSON

Details

    • Normal

    Description

      Schema:

      create table ks1.test ( id int, c1 text, c2 text, v int, primary key (id, c1, c2)) with compact storage and compression = {'sstable_compression': ''};
      

      sstable2json before upgrading:

      [
      {"key": "1",
       "cells": [["","0",1470761440040513],
                 ["a","asd",2470761440040513,"t",1470764842],
                 ["asd:","0",1470761451368658],
                 ["asd:asd","0",1470761449416613]]}
      ]
      

      Query result with 2.1.9:

      cqlsh> select * from ks1.test;
      
       id | c1  | c2   | v
      ----+-----+------+---
        1 |     | null | 0
        1 | asd |      | 0
        1 | asd |  asd | 0
      
      (3 rows)
      

      Query result with 3.7:

      cqlsh> select * from ks1.test;
      
       id | 6331 | 6332 | v
      ----+------+------+---
        1 |      | null | 0
      
      (1 rows)
      

      Attachments

        1. 12423.tar.gz
          37 kB
          Stefania Alborghetti

        Issue Links

          Activity

            People

              stefania Stefania Alborghetti
              tgrabiec@gmail.com Tomasz Grabiec
              Stefania Alborghetti
              Tom Hobbs
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: