Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-237

Pig allows to overwrite existing files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.1.0
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            pkamath Pradeep Kamath
            olgan Olga Natkovich
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: