grundprinzip opened a new pull request, #38535: URL: https://github.com/apache/spark/pull/38535
### What changes were proposed in this pull request? This patch provides small changes to the way the `user_id` is propagated in the SparkRemoteSession. Previously, the `user_id` was a required parameter, this is changed and it's inferred from one of the following configuration options in this order: 1. The `user_id` is specified as a parameter to the connection string. 2. The `user_id` is specified as a parameter to the `RemoteSparkSession`. 3. If not defined it is inferred from the `$USER` In addition, since `token` can only be used for secure connections, it will implicitly set the `use_ssl` property of the connection. ### Why are the changes needed? Usability ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? UT -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org