Github user xuanyuanking commented on a diff in the pull request: https://github.com/apache/spark/pull/17702#discussion_r195124437 --- Diff: core/src/main/scala/org/apache/spark/deploy/SparkHadoopUtil.scala --- @@ -252,6 +252,18 @@ class SparkHadoopUtil extends Logging { if (isGlobPath(pattern)) globPath(fs, pattern) else Seq(pattern) } + def expandGlobPath(fs: FileSystem, pattern: Path): Seq[String] = { + val arr = pattern.toString.split("/") --- End diff -- Thanks for your reply, agree with you.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org