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

    https://github.com/apache/spark/pull/21594#discussion_r197586914
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/command/tables.scala ---
    @@ -493,7 +493,7 @@ case class TruncateTableCommand(
         spark.sessionState.refreshTable(tableName.unquotedString)
         // Also try to drop the contents of the table from the columnar cache
         try {
    -      
spark.sharedState.cacheManager.uncacheQuery(spark.table(table.identifier))
    +      
spark.sharedState.cacheManager.uncacheQuery(spark.table(table.identifier), true)
    --- End diff --
    
    named argument. `cascade = true`
    



---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to