LantaoJin edited a comment on issue #27185: [SPARK-30494][SQL] Avoid duplicated 
cached RDD when replace an existing view
URL: https://github.com/apache/spark/pull/27185#issuecomment-581423446
 
 
   > The entry point of `Catalog` is `SparkSession#catalog`. It doesn't help if 
we only move `Catalog` to catalyst.
   
   Yes. Another way is adding an `uncacheTable` method in  interface 
`ExternalCatalog`. And pass cacheManager to `HiveExternalCatalog` construct 
arguments. But `InMemoryCatalog` in catalyst package can not use 
`cacheManager`. So the unit test only works when use HiveExternalCatalog.

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to