diff --git a/paimon-hive/paimon-hive-connector-common/src/test/java/org/apache/paimon/hive/HiveCatalogITCaseBase.java b/paimon-hive/paimon-hive-connector-common/src/test/java/org/apache/paimon/hive/HiveCatalogITCaseBase.java index a2ddd7142dd4..ea269936b045 100644 --- a/paimon-hive/paimon-hive-connector-common/src/test/java/org/apache/paimon/hive/HiveCatalogITCaseBase.java +++ b/paimon-hive/paimon-hive-connector-common/src/test/java/org/apache/paimon/hive/HiveCatalogITCaseBase.java @@ -1002,12 +1002,12 @@ public void testRenameTable() throws Exception { // the source table do not exist. assertThatThrownBy(() -> tEnv.executeSql("ALTER TABLE t3 RENAME TO t4")) .hasMessage( - "Table `my_hive`.`test_db`.`t3` doesn't exist or is a temporary table."); + "Table `case_insensitive_hive`.`test_db`.`t3` doesn't exist or is a temporary table."); // the target table has existed. assertThatThrownBy(() -> tEnv.executeSql("ALTER TABLE t1 RENAME TO t2")) .hasMessage( - "Could not execute ALTER TABLE my_hive.test_db.t1 RENAME TO my_hive.test_db.t2"); + "Could not execute ALTER TABLE case_insensitive_hive.test_db.t1 RENAME TO my_hive.test_db.t2"); // the target table name has upper case. assertThatThrownBy(() -> tEnv.executeSql("ALTER TABLE t1 RENAME TO T1"))