Skip to content

Commit 842688e

Browse files
authored
[hive] Fix sync-all-properties related tests (#5435)
1 parent 28c21c2 commit 842688e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

paimon-hive/paimon-hive-connector-common/src/test/java/org/apache/paimon/hive/HiveCatalogITCaseBase.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,8 @@ public void testAlterTableWithSyncTblProperties()
436436
" 'uri' = '',",
437437
" 'warehouse' = '" + path + "',",
438438
" 'lock.enabled' = 'true',",
439-
" 'table.type' = 'EXTERNAL'",
439+
" 'table.type' = 'EXTERNAL',",
440+
" 'sync-all-properties' = 'false'",
440441
")"))
441442
.await();
442443
tEnv.executeSql("USE CATALOG paimon_catalog_03").await();
@@ -464,8 +465,7 @@ public void testAlterTableWithSyncTblProperties()
464465
" 'uri' = '',",
465466
" 'warehouse' = '" + path + "',",
466467
" 'lock.enabled' = 'true',",
467-
" 'table.type' = 'EXTERNAL',",
468-
" 'sync-all-properties' = 'true'",
468+
" 'table.type' = 'EXTERNAL'",
469469
")"))
470470
.await();
471471

@@ -1669,7 +1669,8 @@ public void testRepairTableWithSyncTblProperties()
16691669
" 'uri' = '',",
16701670
" 'warehouse' = '" + path + "',",
16711671
" 'lock.enabled' = 'true',",
1672-
" 'table.type' = 'EXTERNAL'",
1672+
" 'table.type' = 'EXTERNAL',",
1673+
" 'sync-all-properties' = 'false'",
16731674
")"))
16741675
.await();
16751676
tEnv.executeSql("USE CATALOG paimon_catalog_repair_03").await();
@@ -1697,8 +1698,7 @@ public void testRepairTableWithSyncTblProperties()
16971698
" 'uri' = '',",
16981699
" 'warehouse' = '" + path + "',",
16991700
" 'lock.enabled' = 'true',",
1700-
" 'table.type' = 'EXTERNAL',",
1701-
" 'sync-all-properties' = 'true'",
1701+
" 'table.type' = 'EXTERNAL'",
17021702
")"))
17031703
.await();
17041704
tEnv.executeSql("USE CATALOG paimon_catalog_repair_syn_03").await();

0 commit comments

Comments
 (0)