godfreyhe commented on a change in pull request #9346: [FLINK-13562]
[table-planner-blink] fix incorrect input type for local stream group aggregate
in FlinkRelMdColumnInterval
URL: https://github.com/apache/flink/pull/9346#discussion_r312306197
##########
File path:
flink-table/flink-table-planner-blink/src/test/scala/org/apache/flink/table/planner/plan/stream/sql/agg/DistinctAggregateTest.scala
##########
@@ -117,6 +117,11 @@ class DistinctAggregateTest(
util.verifyPlan(sqlQuery)
}
+ @Test
+ def testTwoDistinctAggregateWithNonDistinctAgg(): Unit = {
+ util.verifyPlan("SELECT c, SUM(DISTINCT a), SUM(a), COUNT(DISTINCT b) FROM
MyTable GROUP BY c")
Review comment:
yes, to verify the bug
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services