LantaoJin commented on issue #27185: [SPARK-30494][SQL] Avoid duplicated cached RDD when replace an existing view URL: https://github.com/apache/spark/pull/27185#issuecomment-581294858 > To do that, `SessionCatalog` needs a reference of `SparkSession`. We need pass `SparkSession` to the construct arguments of `SessionCatalog`. Is that okey? Oh, checked code. `Catalog` and `CacheManager` are all in spark-core package, but `SessionCatalog` is in `spark-catalyst` package. So we cannot reference them here.
---------------------------------------------------------------- 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]
