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

Allow code-generation arguments with Avro imports

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.2
    • 1.4.2
    • codegen

    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

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

              Dates

                Created:
                Updated:
                Resolved: