[
https://issues.apache.org/jira/browse/FLINK-3506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Fabian Hueske resolved FLINK-3506.
----------------------------------
Resolution: Fixed
Fix Version/s: 1.1.0
Validated that the issue is resolved.
> 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
> Fix For: 1.1.0
>
>
> {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)