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

Providing multiple keys to sstable2json results in invalid json

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.2.7
    • Legacy/Tools
    • None
    • Low

    Description

      if you pass multiple keys via the -k parameter to sstable for json the 2nd row will be appended to the end of the first without a comma. It would look like so:

      sstable2json foo-Data.db -k key1 -k key2 -k key3 -k key4
      {
      key1 : [[]...]key2: [[]...],
      key3 : [[]...],
      key4 : [[]...]
      }
      

      Attachments

        1. patch
          1 kB
          Chris Lohfink

        Activity

          People

            cnlwsu Chris Lohfink
            cnlwsu Chris Lohfink
            Chris Lohfink
            David Brosius
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: