HyukjinKwon commented on code in PR #48755:
URL: https://github.com/apache/spark/pull/48755#discussion_r1839014054


##########
sql/core/src/main/scala/org/apache/spark/sql/SparkSession.scala:
##########
@@ -889,6 +889,9 @@ object SparkSession extends api.BaseSparkSessionCompanion 
with Logging {
 
         // No active nor global default session. Create a new one.
         val sparkContext = userSuppliedContext.getOrElse {
+          // Override appName with the submitted appName
+          sparkConf.getOption("spark.submit.appName")

Review Comment:
   Oh I think I missed the discussion above. So this one is sort of a special 
conf. LGTM then.



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