jerryshao commented on code in PR #8964:
URL: https://github.com/apache/gravitino/pull/8964#discussion_r2480124626


##########
catalogs/catalog-generic-lakehouse/src/main/java/org/apache/gravitino/catalog/lakehouse/lance/LanceCatalogOperations.java:
##########
@@ -291,6 +293,18 @@ public boolean dropTable(NameIdentifier ident) {
         throw new RuntimeException("Failed to drop Lance table: " + 
ident.name());
       }
 
+      boolean isRegisteredTable =
+          (boolean)
+              propertyMetadata
+                  .tablePropertiesMetadata()
+                  .getOrDefault(
+                      tableEntity.getProperties(),
+                      
GenericLakehouseTablePropertiesMetadata.LAKEHOUSE_REGISTER);
+      if (isRegisteredTable) {
+        // If this is a register table. We only delete the metadata from 
metastore.

Review Comment:
   "register" -> "registered".



-- 
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