Github user xwu0226 commented on a diff in the pull request:
https://github.com/apache/spark/pull/12974#discussion_r62797100
--- Diff:
sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/AggregationQuerySuite.scala
---
@@ -930,6 +930,69 @@ abstract class AggregationQuerySuite extends QueryTest
with SQLTestUtils with Te
Row(11) :: Nil)
}
}
+
+ test("SPARK-14495: two distinct aggregation with having clause of one
distinct aggregation") {
--- End diff --
Yes. Thanks for pointing it out! The original thinking was that because I
removed the configuration property, single distinct aggregate case will not get
into rewrite in Optimizer. Therefore, I wanted to cover cases for both single
distinct and multi-distinct in having clause. I think I can just keep the first
one. Any suggestions? Thanks!
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]