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

    https://github.com/apache/spark/pull/19888#discussion_r154853724
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/command/ddl.scala ---
    @@ -206,7 +206,8 @@ case class DropTableCommand(
         try {
           
sparkSession.sharedState.cacheManager.uncacheQuery(sparkSession.table(tableName))
         } catch {
    -      case _: NoSuchTableException if ifExists =>
    +      case ae: AnalysisException
    +        if ifExists && ae.cause.nonEmpty && 
ae.getCause.isInstanceOf[NoSuchTableException] =>
    --- End diff --
    
    I can see it in 2.2.1. It is a warning message.


---

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

Reply via email to