[ 
https://issues.apache.org/jira/browse/PIG-1777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12974690#action_12974690
 ] 

Alan Gates commented on PIG-1777:
---------------------------------

The change to work for a generic InputFormat instead of just sequence files is 
to have your loader take its InputFormat as a constructor argument instead hard 
coding it.  While in general InputFormats are not required to return Writables 
I think it would be ok to say that an InputFormat used with this loader should 
return both Writable key and value.  

The next step for this will be to add a reference implementation and tesst.  A 
unit test that implements a loader in a scripting language would be fine.

> LoadFunc in a scripting language
> --------------------------------
>
>                 Key: PIG-1777
>                 URL: https://issues.apache.org/jira/browse/PIG-1777
>             Project: Pig
>          Issue Type: New Feature
>            Reporter: John Meagher
>             Fix For: 0.9.0
>
>         Attachments: Initial-scripted-load.patch, Initial-scripted-load2.patch
>
>
> Provide a mechanism for loading custom objects from a Sequence file with the 
> conversion from the object to Pig objects happening in a scripting language.  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to