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

PartitionFilterOptimizer failing at compile time

    Details

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

      Description

      Following (rather simple) code

      test.pig
      A = LOAD '/tmp/testinput' using org.apache.pig.test.TestLoader ('srcid:int, mrkt:chararray, dstid:int, name:chararray', 'srcid'); --srcid is the partition-key
      B= filter A by dstid != 10 OR ((dstid < 3000 and srcid == 1000) OR (dstid >= 3000 and srcid == 2000));
      dump B;
      

      is failing with

      2017-09-07 16:37:03,210 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 2243: Attempt to remove operator GreaterThanEqual that is still connected in the plan

        Attachments

          Activity

            People

            • Assignee:
              knoguchi Koji Noguchi
              Reporter:
              knoguchi Koji Noguchi
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: