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

Xuefu Zhang commented on PIG-1315:
----------------------------------

This doesn't seem to make sense. The OrderedLoadFunc clearly asks the 
implementation to instantiate any instance that conforms to WritableComparable 
interface, with which, I don't understand why Pig needs to use reflection to 
instantiate Zebra objects. Ideally, all matters is the interface and Pig 
shouldn't care how the underlying layer implements an interface or instantiate 
an object. Am I missing anything here?

> [Zebra] Implementing OrderedLoadFunc interface for Zebra TableLoader
> --------------------------------------------------------------------
>
>                 Key: PIG-1315
>                 URL: https://issues.apache.org/jira/browse/PIG-1315
>             Project: Pig
>          Issue Type: New Feature
>            Reporter: Xuefu Zhang
>            Assignee: Xuefu Zhang
>             Fix For: 0.8.0
>
>         Attachments: zebra.0324
>
>
> OrderedLoadFunc interface is used by Pig to do merge join and mapside 
> cogrouping. For Zebra, implementing this interface is necessary to support 
> mapside cogrouping.

-- 
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