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

ColumnPrune dropping used column due to LogicalRelationalOperator.fixDuplicateUids changes not propagating

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.11.1, 0.12.1, 0.13.0
    • 0.12.1
    • None
    • None
    • Reviewed

    Description

      I don't have a testcase I can upload at the moment, but here's my observation.

      SplitFilter -> schemaResetter -> LOGenerate.getSchema -> LogicalRelationalOperator.fixDuplicateUids() creating a new UID but that UID is not propagated to the entire plan (since SplitFilter.reportChanges only returns subplan).

      As a result, I am seeing ColumnPruning cutting off those used columns.

      Attachments

        1. pig-3492-trunk_04.patch
          51 kB
          Koji Noguchi
        2. PIG-3492-trunk-delta.patch
          5 kB
          Daniel Dai
        3. pig-3492-v0.12_01.patch
          6 kB
          Koji Noguchi

        Issue Links

          Activity

            People

              knoguchi Koji Noguchi
              knoguchi Koji Noguchi
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: