This is an automated email from the ASF dual-hosted git repository.
lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-paimon.git
The following commit(s) were added to refs/heads/master by this push:
new 40e155537 [hotfix] fix unstable hive catalog test
testClearSchemaAfterUnSupportType (#1688)
40e155537 is described below
commit 40e1555372bb65816344c693f06cc3fc58851dd1
Author: Kerwin <[email protected]>
AuthorDate: Mon Jul 31 16:02:23 2023 +0800
[hotfix] fix unstable hive catalog test testClearSchemaAfterUnSupportType
(#1688)
---
.../src/test/java/org/apache/paimon/hive/HiveCatalogITCaseBase.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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 32346a404..1a424c84d 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
@@ -759,7 +759,7 @@ public abstract class HiveCatalogITCaseBase {
try {
tEnv.executeSql("CREATE TABLE t001(id INT PRIMARY KEY NOT ENFORCED
, d TIME)").await();
} catch (Throwable t) {
- ExceptionUtils.assertThrowableWithMessage(t, "Unsupported logical
type TIME(0)");
+ ExceptionUtils.assertThrowableWithMessage(t, "Unsupported type:
TIME(0)");
}
Identifier identifier = new Identifier("test_db", "t001");
Catalog catalog =
@@ -770,7 +770,7 @@ public abstract class HiveCatalogITCaseBase {
try {
tEnv.executeSql("ALTER TABLE t002 MODIFY b TIME").await();
} catch (Throwable t) {
- ExceptionUtils.assertThrowableWithMessage(t, "Unsupported logical
type TIME(0)");
+ ExceptionUtils.assertThrowableWithMessage(t, "Unsupported type:
TIME(0)");
}
identifier = new Identifier("test_db", "t002");
FileStoreTable table = (FileStoreTable) catalog.getTable(identifier);