vladimirg-db commented on code in PR #50769: URL: https://github.com/apache/spark/pull/50769#discussion_r2068746718
########## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/resolver/FunctionResolver.scala: ########## @@ -77,9 +77,14 @@ class FunctionResolver( private val typeCoercionResolver: TypeCoercionResolver = new TypeCoercionResolver(timezoneAwareExpressionResolver) + private val expressionResolutionContextStack = + expressionResolver.getExpressionResolutionContextStack /** * Main method used to resolve an [[UnresolvedFunction]]. It resolves it in the following steps: + * - Check if the `unresolvedFunction` is an aggregate expression. Set Review Comment: `[[...]]` references sometimes look bulky, so I sometimes simplify the comments by using plain English language. -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org