dongjoon-hyun commented on a change in pull request #29909:
URL: https://github.com/apache/spark/pull/29909#discussion_r497949054



##########
File path: core/src/main/scala/org/apache/spark/SparkContext.scala
##########
@@ -1899,7 +1899,7 @@ class SparkContext(config: SparkConf) extends Logging {
     if (path == null || path.isEmpty) {
       logWarning("null or empty path specified as parameter to addJar")
     } else {
-      val key = if (path.contains("\\")) {
+      val key = if (path.contains("\\") && Utils.isWindows) {

Review comment:
       @AngersZhuuuu . This is `CORE` instead of `SQL`.
   - `core/src/main/scala/org/apache/spark/SparkContext.scala`




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

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