[
https://issues.apache.org/jira/browse/PIG-4686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14936036#comment-14936036
]
Rohini Palaniswamy commented on PIG-4686:
-----------------------------------------
You should not be moving that block to the beginning. The code should first
check for schema from UDFContext and only if not there should it try to fetch
again. Also the comment is still valid and should not be removed.
> Backend code should not call AvroStorageUtils.getPaths
> ------------------------------------------------------
>
> Key: PIG-4686
> URL: https://issues.apache.org/jira/browse/PIG-4686
> Project: Pig
> Issue Type: Bug
> Components: piggybank
> Affects Versions: 0.14.0
> Reporter: Mit Desai
> Assignee: Mit Desai
> Attachments: PIG-4686.1.patch
>
>
> In AvroStorage, backend code should never call AvroStorageUtils.getPaths().
> Currently, getPaths is called called again from the backend code if the
> schema parser throws an exception.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)