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

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

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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-delta.patch
          5 kB
          Daniel Dai
        2. pig-3492-trunk_04.patch
          51 kB
          Koji Noguchi
        3. pig-3492-v0.12_01.patch
          6 kB
          Koji Noguchi

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment