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-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 sql-core package, but `SessionCatalog` is in `sql-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: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org