sunchao commented on a change in pull request #31107:
URL: https://github.com/apache/spark/pull/31107#discussion_r557980220
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/internal/CatalogImpl.scala
##########
@@ -399,7 +399,7 @@ class CatalogImpl(sparkSession: SparkSession) extends
Catalog {
try {
val plan = sparkSession.sessionState.executePlan(viewDef)
sparkSession.sharedState.cacheManager.uncacheQuery(
- sparkSession, plan.analyzed, cascade = false)
+ sparkSession, plan.analyzed, cascade = true)
Review comment:
Oops forgot to update here. Will update and add test cases.
----------------------------------------------------------------
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]