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

Simplify Logical Plans By Removing Unneccessary Identity Projections

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.10.0
    • Fix Version/s: 0.12.0
    • Component/s: impl
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      The TypeCastInserter inserts a LOForeach into a logical plan even if it doesn't need to make any casts. The attached patch adds a special case to the TypeCastInserter to skip this behaviour if possible. The patch also refactors some of the if-instanceof-x-else-if-instanceof-y behaviour into subclasses.

        Attachments

        1. PIG-3123.0.patch
          65 kB
          Nick White
        2. PIG-3123.1.patch
          68 kB
          Nick White
        3. PIG-3123.2.patch
          68 kB
          Nick White

        Issue Links

          Activity

            People

            • Assignee:
              njw45 Nick White
              Reporter:
              njw45 Nick White

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment