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

PIG doesn't validate incomplete query in batch mode even if -c option is given

    XMLWordPrintableJSON

Details

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

    Description

      Given the following in a file to Pig, pig doesn't report any error, even if -c option is given:

      A = load 'x' as (u, v);
      B = foreach A generate $3;

      It's questionable whether to validate the query in batch mode as it doesn't contain any store/dump statement. However, if -c option is given, validation should be nevertheless performed.

      Attachments

        1. PIG-2059-3.patch
          24 kB
          Xuefu Zhang
        2. PIG-2059-2.patch
          18 kB
          Xuefu Zhang
        3. PIG-2059.patch
          3 kB
          Xuefu Zhang

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: