vladimirg-db commented on code in PR #49271:
URL: https://github.com/apache/spark/pull/49271#discussion_r1895806805
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/resolver/ExpressionResolver.scala:
##########
@@ -118,15 +120,17 @@ class ExpressionResolver(
* In this case `IN` is an expression and `SELECT 1` is a nested operator
tree for which
* the [[ExpressionResolver]] would invoke the [[Resolver]].
*/
- override def resolve(unresolvedExpression: Expression): Expression =
+ override def resolve(unresolvedExpression: Expression): Expression = {
+ planLogger.logExpressionTreeResolutionEvent(unresolvedExpression,
"Unresolved expression tree")
Review Comment:
It's recursive. But it's good that we log this for each node downwards,
since this way we will see the resolution order better (for expressions with
multiple children).
--
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]