[ 
https://issues.apache.org/jira/browse/SQOOP-416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kyryl Bilokurov updated SQOOP-416:
----------------------------------

    Affects Version/s:     (was: 1.3.0)
                       1.4.2-incubating
               Status: Patch Available  (was: Open)

The following patch fixes this issue. Should also apply cleanly to the 1.3.0 
version with -p6 (file path stripping, as the file was moved in trunk).
                
> Allow code-generation arguments with Avro imports
> -------------------------------------------------
>
>                 Key: SQOOP-416
>                 URL: https://issues.apache.org/jira/browse/SQOOP-416
>             Project: Sqoop
>          Issue Type: Improvement
>          Components: codegen
>    Affects Versions: 1.4.2-incubating
>            Reporter: Michael Haeusler
>              Labels: avro
>         Attachments: SQOOP-416.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to