[ https://issues.apache.org/jira/browse/PIG-4894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15284854#comment-15284854 ]
Daniel Dai commented on PIG-4894: --------------------------------- Understand, can you put a comment on "pig.tez.opt.union.unsupported.storefuncs"? New code should use StoreFunc.supportsParallelWriteToStoreLocation instead. > Add API for StoreFunc to specify if they are write safe from two different > vertices > ----------------------------------------------------------------------------------- > > Key: PIG-4894 > URL: https://issues.apache.org/jira/browse/PIG-4894 > Project: Pig > Issue Type: Improvement > Reporter: Rohini Palaniswamy > Assignee: Rohini Palaniswamy > Fix For: 0.16.0 > > Attachments: PIG-4894-1.patch > > > Currently this is done with config settings. Having a programmatic API will > let people writing StoreFunc to specifically state whether they support it or > not. Added the method to StoreFunc instead of creating a new interface. If > it is a new interface, then the StoreFunc implementation cannot be used with > older versions of Pig. > When we drop JDK 7 support (hopefully in another year), will move this as a > default method to StoreFuncInterface as JDK 8 supports that. -- This message was sent by Atlassian JIRA (v6.3.4#6332)