dongjoon-hyun commented on code in PR #48755:
URL: https://github.com/apache/spark/pull/48755#discussion_r1841059280


##########
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:
   Thank you, Hyukjin! For the Python part, I'll make a new PR by addressing 
your comment in a few days.



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