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

ConstantCalculator optimizer is not applied for split

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.18.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      SPLIT A INTO B IF x == -2L, C OTHERWISE;

      generates

      |       |       |---PONegative[long] - scope-15
      |       |           |
      |       |           |---Constant(2) - scope-14
      

      instead of just

       |---Constant(-2) - scope-24
      

        Attachments

        1. PIG-5322-2.patch
          23 kB
          Rohini Palaniswamy
        2. PIG-5322-1.patch
          9 kB
          Rohini Palaniswamy

          Activity

            People

            • Assignee:
              rohini Rohini Palaniswamy
              Reporter:
              rohini Rohini Palaniswamy
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: