You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/03/26 02:00:58 UTC
[GitHub] [spark] maropu commented on a change in pull request #24212:
[SPARK-26771][SQL][FOLLOWUP] Make all the uncache operations non-blocking
by default
maropu commented on a change in pull request #24212: [SPARK-26771][SQL][FOLLOWUP] Make all the uncache operations non-blocking by default
URL: https://github.com/apache/spark/pull/24212#discussion_r268918801
##########
File path: sql/core/src/main/scala/org/apache/spark/sql/internal/CatalogImpl.scala
##########
@@ -365,7 +365,7 @@ class CatalogImpl(sparkSession: SparkSession) extends Catalog {
override def dropTempView(viewName: String): Boolean = {
sparkSession.sessionState.catalog.getTempView(viewName).exists { viewDef =>
sparkSession.sharedState.cacheManager.uncacheQuery(
- sparkSession, viewDef, cascade = false, blocking = true)
Review comment:
I just noticed that `uncacheQuery` has `blocking = true` by default, so I changed it then took out the argument 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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org