We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a797b4 commit d29fbdeCopy full SHA for d29fbde
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala
@@ -111,7 +111,6 @@ class Analyzer(catalog: Catalog,
111
s"expression '${e.prettyString}' is neither present in the group by, " +
112
s"nor is it an aggregate function. " +
113
"Add to group by or wrap in first() if you don't care which value you get.")
114
- case e: Attribute => // OK
115
case e if groupingExprs.contains(e) => // OK
116
case e if e.references.isEmpty => // OK
117
case e => e.children.foreach(checkValidAggregateExpression)
0 commit comments