cloud-fan commented on code in PR #50698:
URL: https://github.com/apache/spark/pull/50698#discussion_r2062948580
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala:
##########
@@ -687,6 +688,10 @@ class Analyzer(override val catalogManager:
CatalogManager) extends RuleExecutor
throw
QueryCompilationErrors.groupingSizeTooLargeError(GroupingID.dataType.defaultSize
* 8)
}
+ if (groupByExprs.exists(expression =>
expression.isInstanceOf[Generator])) {
Review Comment:
or are there other checks to make sure the generator functions must be root
in the expression tree?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]