Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-3487

FilterAggregateTransposeRule does not transform logical plan as desired.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.1.0
    • Table SQL / API
    • None

    Description

      val t = CollectionDataSets.get3TupleDataSet(env).as('a, 'b, 'c)
            .groupBy('a)
            .select('a, 'b.avg as 'value)
            .filter('a === 1)
      

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              chengxiang li Chengxiang Li
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: