cloud-fan commented on code in PR #50698:
URL: https://github.com/apache/spark/pull/50698#discussion_r2062946390
##########
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:
Shall we do a recursive check and walk through the whole 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]