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

[jira] [Created] (FLINK-3507) PruneEmptyRules does not prune empty node as expected.

Chengxiang Li created FLINK-3507:
------------------------------------

             Summary: PruneEmptyRules does not prune empty node as expected. 
                 Key: FLINK-3507
                 URL: https://issues.apache.org/jira/browse/FLINK-3507
             Project: Flink
          Issue Type: Improvement
            Reporter: Chengxiang Li
            Priority: Minor


{noformat}
val t = CollectionDataSets.get3TupleDataSet(env).as('a, 'b, 'c)
      .where(Literal(false))
      .groupBy('b)
      .select('a.sum)
{noformat}
With PruneEmptyRules instances enabled, we expect the empty Aggregate and Project should be removed, while it's not removed after logical optimization.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)