Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-2461

Add compression level support to avro-tools' fromjson and recodec

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.10.0
    • java, tools
    • None

    Description

      These commands have the --level option, but it's applied only to deflate and xz.

      $ java -jar avro-tools-1.9.0.jar fromjson
      Expected 1 arg: input_file
      Option                  Description
      ------                  -----------
      --codec <String>        Compression codec (default: null)
      --level <Integer>       Compression level (only applies to deflate and xz)
                                (default: -1)
      

      Zstandard also has compression level feature, so it'd be useful if users can specify it.

      Attachments

        Issue Links

          Activity

            People

              sekikn Kengo Seki
              sekikn Kengo Seki
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: