hvanhovell commented on code in PR #42418:
URL: https://github.com/apache/spark/pull/42418#discussion_r1289186154
##########
connector/connect/server/src/main/scala/org/apache/spark/sql/connect/planner/SparkConnectPlanner.scala:
##########
@@ -508,7 +508,8 @@ class SparkConnectPlanner(val sessionHolder: SessionHolder)
extends Logging {
val commonUdf = rel.getFunc
commonUdf.getFunctionCase match {
case proto.CommonInlineUserDefinedFunction.FunctionCase.SCALAR_SCALA_UDF
=>
- transformTypedMapPartitions(commonUdf, baseRel)
+ val analyzed = session.sessionState.executePlan(baseRel).analyzed
Review Comment:
This was a bug. We only tested mapPartitions with resolved logical plans...
--
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]