Github user gvramana commented on a diff in the pull request: https://github.com/apache/spark/pull/2802#discussion_r19825574 --- Diff: sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveUdfSuite.scala --- @@ -87,8 +87,23 @@ class HiveUdfSuite extends QueryTest { test("SPARK-2693 udaf aggregates test") { checkAnswer(sql("SELECT percentile(key,1) FROM src LIMIT 1"), sql("SELECT max(key) FROM src").collect().toSeq) + + checkAnswer(sql("SELECT percentile(key,array(1,1)) FROM src LIMIT 1"), + sql("SELECT array(max(key),max(key)) FROM src").collect().toSeq) + + TestHive.reset() --- End diff -- Removing this line is failing next unit test.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org