cloud-fan commented on code in PR #47380:
URL: https://github.com/apache/spark/pull/47380#discussion_r1681966247


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala:
##########
@@ -352,8 +353,6 @@ class Analyzer(override val catalogManager: CatalogManager) 
extends RuleExecutor
       // operators may need null handling as well, so we should run these two 
rules repeatedly.
       HandleNullInputsForUDF,
       UpdateAttributeNullability),
-    Batch("UDF", Once,
-      ResolveEncodersInUDF),

Review Comment:
   IIRC we need to run `ResolveEncodersInUDF` after the `ScalaUDF Null 
Handling` batch



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

Reply via email to