[
https://issues.apache.org/jira/browse/FLINK-3487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Fabian Hueske resolved FLINK-3487.
----------------------------------
Resolution: Fixed
Fix Version/s: 1.1.0
Has been resolved by adding a basic cost model.
> FilterAggregateTransposeRule does not transform logical plan as desired.
> ------------------------------------------------------------------------
>
> Key: FLINK-3487
> URL: https://issues.apache.org/jira/browse/FLINK-3487
> Project: Flink
> Issue Type: Improvement
> Components: Table API
> Reporter: Chengxiang Li
> Priority: Minor
> Fix For: 1.1.0
>
>
> {noformat}
> val t = CollectionDataSets.get3TupleDataSet(env).as('a, 'b, 'c)
> .groupBy('a)
> .select('a, 'b.avg as 'value)
> .filter('a === 1)
> {noformat}
> For this query, filter is expected to be pushed down before the aggregate by
> FilterAggregateTransposeRule, currently the optimzied logical plan is not
> what we desired.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)