cloud-fan commented on code in PR #37879: URL: https://github.com/apache/spark/pull/37879#discussion_r972607760
########## sql/core/src/main/scala/org/apache/spark/sql/execution/command/ddl.scala: ########## @@ -247,7 +247,28 @@ case class DropTableCommand( } else if (ifExists) { // no-op } else { - throw QueryCompilationErrors.tableOrViewNotFoundError(tableName.identifier) + throw QueryCompilationErrors.noSuchTableError( Review Comment: good point, we can simplify v1 DROP TABLE command now -- 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. To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org