leesf commented on a change in pull request #5143:
URL: https://github.com/apache/hudi/pull/5143#discussion_r836206825



##########
File path: 
hudi-spark-datasource/hudi-spark3/src/main/scala/org/apache/spark/sql/hudi/catalog/HoodieCatalog.scala
##########
@@ -116,7 +116,10 @@ class HoodieCatalog extends DelegatingCatalogExtension
 
   override def tableExists(ident: Identifier): Boolean = 
super.tableExists(ident)
 
-  override def dropTable(ident: Identifier): Boolean = super.dropTable(ident)
+  override def dropTable(ident: Identifier): Boolean = {
+    DropHoodieTableCommand(ident.asTableIdentifier, ifExists = true, isView = 
false, purge = false).run(spark)
+    true
+  }

Review comment:
       yes, updated




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to