moomindani commented on a change in pull request #27690:
URL: https://github.com/apache/spark/pull/27690#discussion_r441212073
##########
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:
If all the blob storage services have the same characteristics, then it
will be possible. However, actually we cannot guarantee it.
I believe that it is better to allow users to enable/disable this feature
per scheme.
----------------------------------------------------------------
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]