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

Simplify Logical Plans By Removing Unneccessary Identity Projections

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.10.0
    • 0.12.0
    • impl
    • None
    • 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

              njw45 Nick White
              njw45 Nick White
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: