srielau commented on code in PR #57081:
URL: https://github.com/apache/spark/pull/57081#discussion_r3544584684


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/resolver/Resolver.scala:
##########
@@ -871,10 +871,13 @@ class Resolver(
       summary = operator.origin.context.summary()
     )
 
-  private def throwUnsupportedExprForOperator(invalidExpressions: 
Seq[Expression]): Nothing = {
+  private def throwUnsupportedExprForOperator(
+      operator: LogicalPlan,
+      invalidExpressions: Seq[Expression]): Nothing = {
     throw new AnalysisException(
       errorClass = "UNSUPPORTED_EXPR_FOR_OPERATOR",
       messageParameters = Map(
+        "operator" -> operator.nodeName,

Review Comment:
   These are internal names. When you look at the test results some of them are 
hard to map back to teh external name. 



-- 
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]

Reply via email to