Github user maropu commented on a diff in the pull request: https://github.com/apache/spark/pull/21443#discussion_r191306423 --- Diff: sql/core/src/test/scala/org/apache/spark/sql/DataFrameAggregateSuite.scala --- @@ -687,4 +687,12 @@ class DataFrameAggregateSuite extends QueryTest with SharedSQLContext { } } } + + test("SPARK-24369 multiple distinct aggregations having the same argument set") { + val df = sql( + s"""SELECT corr(DISTINCT x, y), corr(DISTINCT y, x), count(*) --- End diff -- ok
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org