hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Dai (JIRA)" <j...@apache.org>
Subject [jira] Created: (PIG-1399) Logical Optimizer: Expression optimizor rule
Date Fri, 30 Apr 2010 18:06:53 GMT
Logical Optimizer: Expression optimizor rule
--------------------------------------------

                 Key: PIG-1399
                 URL: https://issues.apache.org/jira/browse/PIG-1399
             Project: Pig
          Issue Type: Improvement
          Components: impl
    Affects Versions: 0.7.0
            Reporter: Daniel Dai


We can optimize expression in several ways:

1. Constant pre-calculation
Example:
B = filter A by a0 > 5+7;
=> B = filter A by a0 > 12;

2. Boolean expression optimization
Example:
B = filter A by not (not(a0>5) or a>10);
=> B = filter A by a0>5 and a<=10;

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message