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

The error message should be more meaningful when there is a typo in PIg script

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.9.0
    • None
    • None

    Description

      When I ran the following Pig script on the command line "pig -c mycluster myscript.pig", I got the error:

      2008-03-07 16:31:45,992 [main] ERROR org.apache.pig.tools.grunt.Grunt -

      A = load '/user/pig/tests/data/singlefile/fileexists';
      B = foreach A generate $2, $1, $0;
      C = strean B through `awk '{print $3 " " $4 "\t" $2 "\t" $1}'`;
      store C into '/user/pig/tests/data/singlefile/results1';
      

      The error message is not quite meaningful, and it took me a while to find out what was wrong - the word "strean" should have been "stream".

      Attachments

        Issue Links

          Activity

            People

              xuefuz Xuefu Zhang
              xuzh Xu Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: