cloud-fan commented on a change in pull request #30211:
URL: https://github.com/apache/spark/pull/30211#discussion_r519611386



##########
File path: 
sql/core/src/main/scala/org/apache/spark/sql/execution/CacheManager.scala
##########
@@ -112,6 +114,34 @@ class CacheManager extends Logging with 
AdaptiveSparkPlanHelper {
     }
   }
 
+  /**
+   * Un-cache all cache entries that refer to the given table.
+   *
+   * @param table The [[Table]] to be un-cached
+   */
+  def uncacheV2Table(table: Table): Unit = {

Review comment:
       can we avoid changing `CacheManager`? We shouldn't put data source 
specific logic in `CacheManager`, which should be general and also handle 
logical plans.




----------------------------------------------------------------
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]

Reply via email to