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

New logical plan: ImplicitSplitInserter should before DuplicateForEachColumnRewrite

    XMLWordPrintableJSON

Details

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

    Description

      The following script produce wrong result:

      A = load '1.txt' AS (a0:int, a1:int);
      B = load '2.txt' AS (b0:int, b1:chararray);
      C = join A by a0, B by b0;
      D = foreach B generate b0 as d0, b1 as d1;
      E = join C by a1, D by d0;
      F = foreach E generate b1, d1;
      dump F;
      

      1.txt:
      1 2
      1 3
      2 4
      2 5

      2.txt:
      1 one
      2 two

      Expected:
      (one,two)

      We get:
      (one,one)

      Attachments

        1. PIG-1766-1.patch
          3 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: