[
https://issues.apache.org/jira/browse/PIG-4264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14309916#comment-14309916
]
Rohini Palaniswamy commented on PIG-4264:
-----------------------------------------
{code}
- setInputAvroSchema(s);
- setOutputAvroSchema(s);
- Schema s = getInputAvroSchema();
{code}
Can you explain the reason for above two changes.
- Why avoid setting schema in UDFContext properties?
- getInputAvroSchema(); seems to be calling
updateSchemaFromInputAvroSchema() only if schema is null. Why do we have to
change it to updateSchemaFromInputAvroSchema() so that schema is always updated?
> Port TestAvroStorage to tez local mode
> --------------------------------------
>
> Key: PIG-4264
> URL: https://issues.apache.org/jira/browse/PIG-4264
> Project: Pig
> Issue Type: Sub-task
> Components: tez
> Reporter: Daniel Dai
> Assignee: Daniel Dai
> Fix For: 0.15.0
>
> Attachments: PIG-4264-1.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)