Github user viirya commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21594#discussion_r196795998
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/CacheManager.scala ---
    @@ -107,22 +107,35 @@ class CacheManager extends Logging {
       /**
        * Un-cache all the cache entries that refer to the given plan.
        */
    -  def uncacheQuery(query: Dataset[_], blocking: Boolean = true): Unit = 
writeLock {
    -    uncacheQuery(query.sparkSession, query.logicalPlan, blocking)
    +  def uncacheQuery(query: Dataset[_],
    +    cascade: Boolean, blocking: Boolean = true): Unit = writeLock {
    +    uncacheQuery(query.sparkSession, query.logicalPlan, cascade, blocking)
       }
     
       /**
        * Un-cache all the cache entries that refer to the given plan.
    --- End diff --
    
    We should update this document.


---

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

Reply via email to