Description
Also the semantic of Having support was changed in Spark
https://github.com/apache/spark/pull/22696/files
https://issues.apache.org/jira/browse/SPARK-25708
Now Having could be a legal operation without GroupBY
Rewrite the test "SELECT id FROM city HAVING id > 1"