apache/spark — pull request #1640 by marmbrus (2014-07-29 21:48:46+00:00)
Title: [SPARK-2716][SQL] Don't check resolved for having filters.

For queries like `... HAVING COUNT(*) > 9` the expression is always resolved since it contains no attributes. This was causing us to avoid doing the Having clause aggregation rewrite.