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)