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

Pradeep Kamath commented on PIG-1072:
-------------------------------------

The requirement that to be reversible the load and store func must be the same 
class seems restricting.  While we're reworking the APIs should we add a call 
like:
{code}
Class getReversibleLoader()
{code}
to the StoreFunc interface.  Then the store function can return itself if it is 
also the load function, it can return null if it has no reversible loader, or 
it can return another class (like in the Zebra case).

This will effect Multi Query optimization and streaming optimization currently 
built around ReversibleLoadStoreFunc


> ReversibleLoadStoreFunc interface should be removed to enable different load 
> and store implementation classes to be used in a reversible manner
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: PIG-1072
>                 URL: https://issues.apache.org/jira/browse/PIG-1072
>             Project: Pig
>          Issue Type: Sub-task
>            Reporter: Pradeep Kamath
>


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