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

-dryrun does not work with set

    XMLWordPrintableJSON

Details

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

    Description

      The following script works

      set default_parallel 10;
      import 'scripts/macro1.pig';
      import 'scripts/macro2.pig';
      
      wlogs = load 'clicks' as (url, pageid, timestamp);
      good  = spam_filter(wlogs, url);
      

      But if -dryrun is added to the command line it returns the error:

      ERROR 1200: <file scripts/book.pig.substituted, line 1, column 0>  Syntax error, unexpected symbol at or near 'set'
      

      Attachments

        1. PIG-1987.patch
          17 kB
          Richard Ding
        2. PIG-1987_1.patch
          20 kB
          Richard Ding

        Activity

          People

            rding Richard Ding
            gates Alan Gates
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: