viirya commented on code in PR #41777:
URL: https://github.com/apache/spark/pull/41777#discussion_r1245884847
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala:
##########
@@ -4292,6 +4292,14 @@ object SQLConf {
.checkValue(_ >= 0, "The threshold of cached local relations must not be
negative")
.createWithDefault(64 * 1024 * 1024)
+ val QUERY_RESULT_CACHE_AUTO_REFRESH =
buildConf("spark.sql.queryResultCache.autoRefresh.enabled")
+ .doc("When true, refresh the query result cache automatically if any of
the tables " +
+ "referenced by the query gets updated. Note that, auto refresh won't be
triggered if the " +
+ "table updates happen outside of this Spark application.")
Review Comment:
Hmm, if in same Spark application but in different SparkSession, will it be
triggered?
--
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]