HyukjinKwon commented on code in PR #47434:
URL: https://github.com/apache/spark/pull/47434#discussion_r1733781356
##########
connector/connect/client/jvm/src/main/scala/org/apache/spark/sql/SparkSession.scala:
##########
@@ -1001,6 +1050,16 @@ object SparkSession extends Logging {
}
private def applyOptions(session: SparkSession): Unit = {
+ // Only attempts to set Spark SQL configurations.
+ // If the configurations are static, it might throw an exception so
+ // simply ignore it for now.
+ initOptions
Review Comment:
It actually could matter if users do, for example,
```bash
spark-submit ... --remote sc://localhost --conf=...
```
and the server is already running somewhere.
--
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]