hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olga Natkovich (JIRA)" <j...@apache.org>
Subject [jira] Commented: (PIG-237) Pig allows to overwrite existing files
Date Mon, 12 May 2008 12:39:55 GMT

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

Olga Natkovich commented on PIG-237:
------------------------------------

I think we need a temp fix. This can cause data loss.

> 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
>
> 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.


Mime
View raw message