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 2020/06/15 23:30:12 UTC

[GitHub] [spark] maropu commented on a change in pull request #27690: [SPARK-21514][SQL] Added a new option to use non-blobstore storage when writing into blobstore storage

maropu commented on a change in pull request #27690:
URL: https://github.com/apache/spark/pull/27690#discussion_r440501541



##########
File path: sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
##########
@@ -839,6 +839,17 @@ object SQLConf {
     .checkValues(HiveCaseSensitiveInferenceMode.values.map(_.toString))
     .createWithDefault(HiveCaseSensitiveInferenceMode.NEVER_INFER.toString)
 
+  val HIVE_SUPPORTED_SCHEMES_TO_USE_NONBLOBSTORE =
+    buildConf("spark.sql.hive.supportedSchemesToUseNonBlobstore")
+      .doc("Comma-separated list of supported blobstore schemes (e.g. 's3,s3a'). " +
+        "If any blobstore schemes are specified, this feature is enabled. " +
+        "When writing data out to a Hive table, " +
+        "Spark writes the data first into non blobstore storage, and then moves it to blobstore. " +
+        "By default, this option is set to empty. It means this feature is disabled.")
+      .version("3.1.0")
+      .stringConf
+      .createWithDefault("")

Review comment:
       Ah, nice. +1 on the @viirya idea.




----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org