Uploaded image for project: 'Sqoop'
  1. Sqoop
  2. SQOOP-416

Allow code-generation arguments with Avro imports

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.2
    • Fix Version/s: 1.4.2
    • Component/s: codegen
    • Labels:

      Description

      If you use --as-avrodatafile, sqoop will automatically generate an avro schema and store it in the header of the avro files. You can easily extract and use that auto-generated schema (e.g., with avro-tools getschema, avro-tools compile). It would be a great improvement, if you could customize the name and namespace of the generated record type in this schema with the already existing arguments --package-name and/or --class-name.

        Attachments

        1. SQOOP-416.patch
          1.0 kB
          Kyryl Bilokurov

          Issue Links

            Activity

              People

              • Assignee:
                kyryl Kyryl Bilokurov
                Reporter:
                akatose Michael Haeusler
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: