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

Jeff Zhang commented on PIG-259:
--------------------------------

Response to Alan regarding his comments,

1. I put the logic of deleting output file in JobControlCompiler, then it is 
easy for me to delay the deletion util the dependent job is done.

2. I prefer using keywords rather than string, because if using string, the 
following statement: {code} store a into 'output' 'overwrite'; {code}  has two 
consecutive string, it looks a little weird in my opinion.

3. I think the semantic of overwrite is the same as it is in file system. In 
file system, when we overwrite file using java api, it won't complain even the 
file does not exist



> allow store to overwrite existing directroy
> -------------------------------------------
>
>                 Key: PIG-259
>                 URL: https://issues.apache.org/jira/browse/PIG-259
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.8.0
>            Reporter: Olga Natkovich
>            Assignee: Jeff Zhang
>             Fix For: 0.8.0
>
>         Attachments: Pig_259.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.

Reply via email to