flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chengxiang Li (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-3506) ReduceExpressionsRule does not remove duplicate expression in Filter
Date Thu, 25 Feb 2016 06:09:18 GMT
Chengxiang Li created FLINK-3506:
------------------------------------

             Summary: ReduceExpressionsRule does not remove duplicate expression in Filter
                 Key: FLINK-3506
                 URL: https://issues.apache.org/jira/browse/FLINK-3506
             Project: Flink
          Issue Type: Improvement
          Components: Table API
            Reporter: Chengxiang Li
            Priority: Minor


{noformat}
val ds = CollectionDataSets.get3TupleDataSet(env).as('a, 'b, 'c)
val filterDs = ds.filter('a % 2 !== 0).filter('b % 2 === 0).filter('a % 2 !== 0)
{noformat}
According to the ReduceExpressionsRule definition, we expect the duplicted filter expression
get removed, while it's not after logical optimization.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message