[
https://issues.apache.org/jira/browse/PIG-3680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nezih Yigitbasi resolved PIG-3680.
----------------------------------
Resolution: Won't Fix
> A new type of EvalFunc, TransactionalEvalFunc, would be useful
> --------------------------------------------------------------
>
> Key: PIG-3680
> URL: https://issues.apache.org/jira/browse/PIG-3680
> Project: Pig
> Issue Type: New Feature
> Reporter: Nezih Yigitbasi
> Assignee: Nezih Yigitbasi
> Priority: Minor
>
> I think a new type of EvalFunc that has some notion of a transactional
> context would be very useful. This new TransactionalEvalFunc abstract class
> should have methods like initialize, onSuccess, and onFailure to mark the
> transaction boundaries. Such EvalFuncs would be useful for interacting with
> external resources. For example, to delete rows from an existing hbase table
> such a transactional UDF would be useful. Of course we can imitate this with
> a StoreFunc, but conceptually StoreFunc's are restricted to writes. If the
> community thinks this will be useful, I am ready to spend time on this..
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)