Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
2.1.0
-
None
-
None
Description
the fileStatusCache is globally shared cache,refresh is only for one table,so we do not need to invalidateAll entry in fileStatusCache
/** Globally shared (not exclusive to this table) cache for file statuses to speed up listing. */ private val fileStatusCache = FileStatusCache.getOrCreate(sparkSession)
override def refresh(): Unit = { refresh0() fileStatusCache.invalidateAll() }