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


##########
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:
   I feel like this is a bit arguable because it's going to overwrite the 
configurations already specified by users.



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