JingsongLi commented on code in PR #4863: URL: https://github.com/apache/paimon/pull/4863#discussion_r1914063235
########## paimon-hive/paimon-hive-catalog/src/main/java/org/apache/paimon/hive/HiveCatalog.java: ########## @@ -1638,4 +1642,20 @@ public int getBatchGetTableSize() { return DEFAULT_TABLE_BATCH_SIZE; } } + + private void repairTableQuietly(Identifier identifier) { + LOG.warn( + "Paimon Table {}.{} exists in HMS but not in the file system during get table; dropping it from HMS.", + identifier.getDatabaseName(), + identifier.getTableName()); + try { + dropTableImpl(identifier); Review Comment: Drop table in getTable? This behavior is too strange. -- 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: issues-unsubscr...@paimon.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org