apache/spark — pull request #2774 by liancheng (2014-10-12 13:09:53+00:00)
Title: [SPARK-2066][SQL] Adds checks for non-aggregate attributes with aggregation

This PR adds a new rule `CheckAggregation` to the analyzer to provide better error message for non-aggregate attributes with aggregation.