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

Add jsonl support to sstabledump

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Low
    • Resolution: Won't Fix
    • 5.x
    • Legacy/Tools
    • None
    • Operability
    • Low Hanging Fruit
    • All
    • None

    Description

      Add a new option to sstabledump to allow the generation of jsonl format.

      The -l option for sstabledump does not produce valid jsonl.

      https://jsonlines.org/validator/

      Valid jsonl removes whitespace, including newlines, to make the format compact.  

      By adding an option to generate valid jsonl, jsonl can be generated that is smaller.

      Smaller output is better for execution time, storage, and transport. 

      jsonl also allows the splitting of a file for processing at a known good line for processing without parsing the file, as each row is a line.

       

      Attachments

        Activity

          People

            lapsuscalami Geoff Lay
            lapsuscalami Geoff Lay
            Geoff Lay
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: