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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.4.0
    • Fix Version/s: 0.6.0
    • Component/s: impl
    • Labels:
      None
    • Hadoop Flags:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: