You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by lz...@apache.org on 2022/11/15 06:41:42 UTC
[flink-table-store] branch master updated: [FLINK-29922] Add test to validate table path exists for dropped external table
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/flink-table-store.git
The following commit(s) were added to refs/heads/master by this push:
new 74cd4891 [FLINK-29922] Add test to validate table path exists for dropped external table
74cd4891 is described below
commit 74cd489109a8753319877b212a864a90aa242268
Author: JingsongLi <lz...@aliyun.com>
AuthorDate: Tue Nov 15 14:41:30 2022 +0800
[FLINK-29922] Add test to validate table path exists for dropped external table
---
.../test/java/org/apache/flink/table/store/hive/HiveCatalogITCase.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/flink-table-store-hive/flink-table-store-hive-catalog/src/test/java/org/apache/flink/table/store/hive/HiveCatalogITCase.java b/flink-table-store-hive/flink-table-store-hive-catalog/src/test/java/org/apache/flink/table/store/hive/HiveCatalogITCase.java
index 27a85264..ba11f599 100644
--- a/flink-table-store-hive/flink-table-store-hive-catalog/src/test/java/org/apache/flink/table/store/hive/HiveCatalogITCase.java
+++ b/flink-table-store-hive/flink-table-store-hive-catalog/src/test/java/org/apache/flink/table/store/hive/HiveCatalogITCase.java
@@ -252,6 +252,9 @@ public class HiveCatalogITCase {
hiveShell
.executeQuery("DESC FORMATTED t")
.contains("Table Type: \tEXTERNAL_TABLE \tNULL"));
+ tEnv.executeSql("DROP TABLE T").await();
+ Path tablePath = new Path(path, "test_db.db/T");
+ Assert.assertTrue(tablePath.getFileSystem().exists(tablePath));
}
@Test