yuqi1129 commented on code in PR #14715:
URL: https://github.com/apache/gravitino/pull/14715#discussion_r4490811165
##########
catalogs/catalog-jdbc-postgresql/src/main/java/org/apache/gravitino/catalog/postgresql/operation/PostgreSqlTableOperations.java:
##########
@@ -365,6 +365,23 @@ protected String generateDropTableSql(String tableName) {
return "DROP TABLE " + quotedIdentifier(tableName);
}
+ /**
+ * Drops the table by its schema-qualified name. An unqualified name is
resolved through the
+ * search path, and PostgreSQL leaves out a schema the catalog user has no
USAGE privilege on. The
+ * drop would then report the table as missing instead of refusing it with
42501, and Gravitino
+ * would remove the registration of a table that still exists.
Review Comment:
done
--
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]