You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Olga Natkovich (JIRA)" <ji...@apache.org> on 2008/05/12 20:02:55 UTC

[jira] Resolved: (PIG-237) Pig allows to overwrite existing files

     [ https://issues.apache.org/jira/browse/PIG-237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olga Natkovich resolved PIG-237.
--------------------------------

    Resolution: Fixed

Patch committed. Thanks, Pi.

> Pig allows to overwrite existing files
> --------------------------------------
>
>                 Key: PIG-237
>                 URL: https://issues.apache.org/jira/browse/PIG-237
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Olga Natkovich
>            Assignee: Pradeep Kamath
>         Attachments: PIG_237_no_override.patch
>
>
> You can run the following script multiple times and it will not produce the error second time saying that the directory already exists. If the existing file is a single file and not a directory, hadoop eventually produces an error but with directory it runs to completion.
> A = load 'data';
> store A into 'foo';
> The validation code is missing from org/apache/pig/impl/logicalLayer/parser/QueryParser.jjt in  StoreClause() function.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.