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

Script contains nested limit fail due to "LOLimit does not support multiple outputs"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.4.0
    • 0.6.0
    • impl
    • None
    • Reviewed

    Description

      The following script fail:

      a = load '1.txt' as (a0:int, a1:int, a2:int);
      b = group a by a0;
      c = foreach b

      { c1 = limit a 10; c2 = (c1.a0/c1.a1); c3 = (c1.a0/c1.a2); generate c2, c3;}

      Error message:

      ERROR org.apache.pig.impl.plan.OperatorPlan - Attempt to give operator of type
      org.apache.pig.impl.logicalLayer.LOLimit multiple outputs. This operator does not support multiple outputs.

      Attachments

        1. PIG-1024-1.patch
          1 kB
          Daniel Dai

        Activity

          People

            daijy Daniel Dai
            daijy Daniel Dai
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: