Github user xuanyuanking commented on a diff in the pull request: https://github.com/apache/spark/pull/21618#discussion_r201006447 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala --- @@ -656,6 +656,25 @@ object SQLConf { .intConf .createWithDefault(10000) + val PARALLEL_GET_GLOBBED_PATH_THRESHOLD = + buildConf("spark.sql.sources.parallelGetGlobbedPath.threshold") + .doc("The maximum number of subfiles or directories allowed after a globbed path " + + "expansion. If the number of paths exceeds this value during expansion, it tries to " + + "expand the globbed in parallel with multi-thread.") + .intConf + .checkValue(threshlod => threshlod >= 0, "The maximum number of subfiles or directories " + --- End diff -- Thanks, done in next commit.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org