HyukjinKwon commented on code in PR #47815:
URL: https://github.com/apache/spark/pull/47815#discussion_r1731004930
##########
core/src/main/scala/org/apache/spark/SparkContext.scala:
##########
@@ -825,6 +826,11 @@ class SparkContext(config: SparkConf) extends Logging {
def getLocalProperty(key: String): String =
Option(localProperties.get).map(_.getProperty(key)).orNull
+ /** Set the UUID of the Spark session that starts the current job. */
+ def setSparkSessionUUID(uuid: String): Unit = {
+ setLocalProperty(SparkContext.SPARK_SESSION_UUID, uuid)
Review Comment:
Spark core has to be separated from Spark SQL, and now we're putting SQL
stuff into Spark core. Can we avoid this?
--
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]