You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/10/19 15:23:14 UTC
[GitHub] [spark] AngersZhuuuu commented on a change in pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
AngersZhuuuu commented on a change in pull request #33828:
URL: https://github.com/apache/spark/pull/33828#discussion_r731986070
##########
File path: core/src/main/scala/org/apache/spark/internal/config/package.scala
##########
@@ -2258,4 +2258,14 @@ package object config {
.version("3.2.0")
.stringConf
.createOptional
+
+ val EXEC_STAGING_DIR =
+ ConfigBuilder("spark.exec.stagingDir")
+ .doc("The staging directory of Spark job. Spark uses it to deal with files with " +
+ "absolute output path, or writing data into partitioned directory when " +
+ "dynamic partition overwrite mode.")
+ .version("3.3.0")
+ .internal()
+ .stringConf
+ .createWithDefault(".spark-staging")
Review comment:
> does this default value mean `.spark-staging` folder under the table path?
Yea, should be like this, maybe option should be better?
--
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-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org