You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "RamonZhou (via GitHub)" <gi...@apache.org> on 2026/09/01 20:23:03 UTC
Re: [PR] [SPARK-58752][SQL][PYTHON] Let a session set environment variables for its Python UDF workers [spark]
RamonZhou commented on code in PR #58264:
URL: https://github.com/apache/spark/pull/58264#discussion_r3908096845
##########
sql/connect/server/src/main/scala/org/apache/spark/sql/connect/planner/SparkConnectPlanner.scala:
##########
@@ -87,6 +87,15 @@ import org.apache.spark.unsafe.types.UTF8String
import org.apache.spark.util.ArrayImplicits._
import org.apache.spark.util.Utils
+/**
+ * Translates a Spark Connect request into Catalyst.
+ *
+ * An instance is request-scoped: construct one per request and discard it. Some state is derived
Review Comment:
No longer an issue since we no long capture env vars at plan time. Instead we capture and inject env var au execution.
--
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-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org