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 04:01:18 UTC
[jira] [Updated] (FLINK-3487) [SQL] FilterAggregateTransposeRule
does not transform logical plan as desired.
[ https://issues.apache.org/jira/browse/FLINK-3487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chengxiang Li updated FLINK-3487:
---------------------------------
Issue Type: Improvement (was: Bug)
> [SQL] 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
> Reporter: Chengxiang Li
> Priority: Minor
>
> {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)