Skip to content

Commit e73731d

Browse files
committed
fix
1 parent cc8ae31 commit e73731d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

paimon-core/src/test/java/org/apache/paimon/append/cluster/IncrementalClusterManagerTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,16 @@ public class IncrementalClusterManagerTest {
5858
@TempDir java.nio.file.Path tempDir;
5959

6060
@Test
61-
public void testNonUnAwareBucketTable() {
61+
public void testCreateClusterTable() {
6262
Map<String, String> options = new HashMap<>();
6363
options.put(CoreOptions.BUCKET.key(), "1");
6464
options.put(CoreOptions.BUCKET_KEY.key(), "f0");
65+
options.put(CoreOptions.DELETION_VECTORS_ENABLED.key(), "true");
6566

6667
assertThatThrownBy(() -> createTable(options, Collections.emptyList()))
6768
.isInstanceOf(IllegalArgumentException.class)
6869
.hasMessageContaining(
69-
"Cannot define bucket for incremental clustering table, it only support bucket = -1");
70+
"Cannot enable deletion-vectors for incremental clustering table which bucket is not -1.");
7071
}
7172

7273
@Test

0 commit comments

Comments
 (0)