Koji Noguchi created PIG-5299:
---------------------------------

             Summary: PartitionFilterOptimizer failing at compile time
                 Key: PIG-5299
                 URL: https://issues.apache.org/jira/browse/PIG-5299
             Project: Pig
          Issue Type: Bug
            Reporter: Koji Noguchi
            Assignee: Koji Noguchi


Following (rather simple) code 
{code:title=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;
{code}
is failing with 
{panel}
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
{panel}




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to