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

Java tool for altering the codec of an Avro data file stream.

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.5.0
    • java
    • None
    • Reviewed

    Description

      An example is worth a thousand words:

      cat infile.avro | avro-tools recodec deflate - - > outfile.avro

      The above example would create a new file, "outfile.avro", with the same contents as "infile.avro". However, the codec of "outfile.avro" would be "deflate", regardless of the codec of "infile.avro".

      Proposed features:

      • The tool should preserve any metadata present in the input file.
      • Supported codecs will be "deflate" and "null".
      • Optionally add support for specifying the deflation level, perhaps with syntax as follows: "deflate:N" where N is the deflation level, e.g. "deflate:4".

      Does this proposal sound reasonable?

      Attachments

        1. AVRO-684.patch
          11 kB
          Patrick Linehan
        2. AVRO-684.patch
          6 kB
          Patrick Linehan

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            plinehan Patrick Linehan
            plinehan Patrick Linehan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment