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

Shad Sharma updated PIG-4194:
-----------------------------
    Labels: easyfix patch  (was: )
    Status: Patch Available  (was: Open)

Here's the patch with included unit test to verify that downstream readers will 
have access to a non-null conf object from the pigSplit.

> ReadToEndLoader does not call setConf on pigSplit in initializeReader
> ---------------------------------------------------------------------
>
>                 Key: PIG-4194
>                 URL: https://issues.apache.org/jira/browse/PIG-4194
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: 0.12.0
>            Reporter: Shad Sharma
>            Priority: Trivial
>              Labels: easyfix, patch
>
> When using ReadToEndLoader to wrap a LoadFunc, if the LoadFunc uses the conf 
> object in the prepareToRead() method, the conf object will be null because 
> ReadToEndLoader does not call setConf on the pigSplit in initializeReader().



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to