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

"Unknown" appears in error message for an error case

    XMLWordPrintableJSON

Details

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

    Description

      For the following query:

      a = load '1.txt' as (a0:int, a1:int);
      b = load '2.txt' as (a0:int, a1:chararray);
      c = cogroup a by (a0,a1), b by (a0,a1);

      Pig gives the following message, which includes "unknown" word.

      2011-05-13 11:01:18,682 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1051:
      <line 3, column 4> Cannot cast to Unknown

      The error message should be more meaningful.

      Attachments

        1. PIG-2070.1.patch
          6 kB
          Thejas Nair

        Activity

          People

            thejas Thejas Nair
            xuefuz Xuefu Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: