[ https://issues.apache.org/jira/browse/PIG-259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeff Zhang updated PIG-259: --------------------------- Attachment: Pig_259_2.patch This patch is for trunk (since LSRD has already been merged into trunk). I've put the overwrite logic into StoreFuncInterface. Add two methods {code} public boolean isOverWrite(); public void deleteOldOutput(POStore store, PigContext context) throws IOException; {code} The second parameter of PigStorage is for overwrite option. It can be 'overwrite' or 'force_write'. Both is OK. > allow store to overwrite existing directroy > ------------------------------------------- > > Key: PIG-259 > URL: https://issues.apache.org/jira/browse/PIG-259 > Project: Pig > Issue Type: Sub-task > Affects Versions: 0.8.0 > Reporter: Olga Natkovich > Assignee: Jeff Zhang > Fix For: 0.8.0 > > Attachments: Pig_259.patch, Pig_259_2.patch, Pig_259_2.patch > > > we have users who are asking for a flag to overwrite existing directory -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.