LuciferYang commented on a change in pull request #33748:
URL: https://github.com/apache/spark/pull/33748#discussion_r691733053
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
##########
@@ -967,6 +967,32 @@ object SQLConf {
.booleanConf
.createWithDefault(false)
+ val FILE_META_CACHE_ENABLED_SOURCE_LIST =
buildConf("spark.sql.fileMetaCache.enabledSourceList")
+ .doc("A comma-separated list of data source short names for which data
source enabled file " +
+ "meta cache, now the file meta cache only support ORC, it is recommended
to enabled this " +
+ "config when multiple queries are performed on the same dataset, default
is false." +
+ "Warning: if the fileMetaCache is enabled, the existing data files
should not be " +
+ "replaced with the same file name, otherwise there will be a risk of job
failure or wrong " +
+ "data reading before the cache entry expires.")
+ .version("3.3.0")
+ .stringConf
Review comment:
c3838e6 add `.checkValue` and test case
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]