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

Allow DataFileWriteTool to accept schema files as input

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.5.0
    • java
    • None
    • Incompatible change, Reviewed
    • The "fromjson" tool now requires either a --schema or --schema-file command-line argument to specify the schema. Previously, the schema was to be specified as the first argument.

    Description

      For non-trivial schemas, it's difficult to pass them inline as a command line argument. I made a patch to use two different arguments: instead of having the first argument be the schema you would now use -schema-file file or -schema schema and then have one other argument (the input JSON file)

      Attachments

        1. datafilewritefile.patch
          3 kB
          Ron Bodkin
        2. AVRO-670.patch
          6 kB
          Ron Bodkin

        Activity

          People

            rbodkin Ron Bodkin
            rbodkin Ron Bodkin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: