Github user dongjoon-hyun commented on the issue:
https://github.com/apache/spark/pull/14546
Hi, @clockfly .
It is different issue since this PR aims to solve the case of both GROUP BY
and ORDER BY existence.
However, this PR solve that problem too. Your case makes exceptions in
current master. But in this PR,
```scala
scala> sql("select count(*), a from (select 1 as a) tmp group by 2 having a
> 0").show
+--------+---+
|count(1)| a|
+--------+---+
| 1| 1|
+--------+---+
```
---
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]