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

Tutorial is broken with 0.4 branch and trunk

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.3.0
    • 0.4.0
    • None
    • None
    • Reviewed

    Description

      As I was testing the Pig Tutorial in preparation for the release, I found that we broke the second script both in local mode and in MR mode. The issue has to do with schema and naming fields.

      Here is what I see:

      java -cp pig.jar org.apache.pig.Main -x local script2-local.pig

      2009-09-11 12:52:46,961 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1000: Error during parsing. Invalid alias: hour00::group::ngram in

      {group::ngram: chararray,group::hour: chararray,hour00::count: long,ngram: chararray,hour: chararray,hour12::count: long}

      09/09/11 12:52:46 ERROR grunt.Grunt: ERROR 1000: Error during parsing. Invalid alias: hour00::group::ngram in

      {group::ngram: chararray,group::hour: chararray,hour00::count: long,ngram: chararray,hour: chararray,hour12::count: long}

      Attachments

        1. PIG-957-2.patch
          5 kB
          Pradeep Kamath
        2. PIG-957.patch
          4 kB
          Pradeep Kamath

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: