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

Expressions not allowed inside foreach

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.2.0
    • 0.2.0
    • None
    • None
    • Patch Available

    Description

      The following used to work but no longer does:

      A = load 'data';
      B = group A by $0;
      C = foreach B{
      D = MAX(A.$0)
      generate D;
      }

      Attachments

        1. Pig-398.patch
          13 kB
          Santhosh Muthur Srinivasan
        2. Pig-398_1.patch
          14 kB
          Santhosh Muthur Srinivasan

        Activity

          People

            sms Santhosh Muthur Srinivasan
            olgan Olga Natkovich
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: