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

Cheolsoo Park updated PIG-3075:
-------------------------------

    Assignee: Nick White

+1.

Thank you for your contribution! I will commit the patch after running tests.

Btw, in Pig 0.12, we're likely to ship a new AvroStorage (PIG-3015), which also 
has a -schemafile option. Nevertheless, I will commit this since some people 
might build Pig from trunk in the meantime.
                
> Allow AvroStorage STORE Operations To Use Schema Specified By URI
> -----------------------------------------------------------------
>
>                 Key: PIG-3075
>                 URL: https://issues.apache.org/jira/browse/PIG-3075
>             Project: Pig
>          Issue Type: New Feature
>          Components: piggybank
>    Affects Versions: 0.10.0, 0.12
>            Reporter: Nick White
>            Assignee: Nick White
>             Fix For: 0.12
>
>         Attachments: PIG-3075.patch
>
>
> I've attached a patch that makes AvroStorage accept a "schema_uri" flag when 
> storing an alias. The schema used to store the contents of the alias is the 
> contents of the file the URI refers to (which must exist). This fits 
> somewhere between the "schema" flag - specifying the schema as an inline 
> string - and the "same" flag - specifying the schema as it appears in a data 
> file.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to