sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vishal Kapoor (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-416) Allow code-generation arguments with Avro imports
Date Tue, 20 May 2014 21:39:40 GMT

    [ https://issues.apache.org/jira/browse/SQOOP-416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14004018#comment-14004018
] 

Vishal Kapoor commented on SQOOP-416:
-------------------------------------

Is there a way I can get this patch, we are using 1.4.3-cdh4.5.0


> 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
>            Reporter: Michael Haeusler
>            Assignee: Kyryl Bilokurov
>              Labels: avro
>             Fix For: 1.4.2
>
>         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 was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message