Skip to content

Commit d29fbde

Browse files
committed
extra case
1 parent 1a797b4 commit d29fbde

File tree

1 file changed

+0
-1
lines changed
  • sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis

1 file changed

+0
-1
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ class Analyzer(catalog: Catalog,
111111
s"expression '${e.prettyString}' is neither present in the group by, " +
112112
s"nor is it an aggregate function. " +
113113
"Add to group by or wrap in first() if you don't care which value you get.")
114-
case e: Attribute => // OK
115114
case e if groupingExprs.contains(e) => // OK
116115
case e if e.references.isEmpty => // OK
117116
case e => e.children.foreach(checkValidAggregateExpression)

0 commit comments

Comments
 (0)