You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chengxiang Li (JIRA)" <ji...@apache.org> on 2016/02/25 07:09:18 UTC

[jira] [Created] (FLINK-3506) ReduceExpressionsRule does not remove duplicate expression in Filter

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)