From 86e16b087772798b3d8e798ce3eff2c0ac1d973f Mon Sep 17 00:00:00 2001 From: Jianliang Qi Date: Thu, 1 Aug 2024 22:39:38 +0800 Subject: [PATCH] add format info --- .../test_cumulative_compaction_with_format_v2.groovy | 2 +- .../index_format_v2/test_mor_table_with_format_v2.groovy | 2 +- .../index_format_v2/test_mow_table_with_format_v2.groovy | 2 +- .../test_single_replica_compaction_with_format_v2.groovy | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/regression-test/suites/inverted_index_p0/index_format_v2/test_cumulative_compaction_with_format_v2.groovy b/regression-test/suites/inverted_index_p0/index_format_v2/test_cumulative_compaction_with_format_v2.groovy index 65270ebe597d31..c1f9ac2d7ce003 100644 --- a/regression-test/suites/inverted_index_p0/index_format_v2/test_cumulative_compaction_with_format_v2.groovy +++ b/regression-test/suites/inverted_index_p0/index_format_v2/test_cumulative_compaction_with_format_v2.groovy @@ -119,7 +119,7 @@ suite("test_cumulative_compaction_with_format_v2", "inverted_index_format_v2") { INDEX idx_date (`date`) USING INVERTED, INDEX idx_city (`city`) USING INVERTED) DUPLICATE KEY(`user_id`, `date`, `datev2`, `datetimev2_1`, `datetimev2_2`, `city`, `age`, `sex`) DISTRIBUTED BY HASH(`user_id`) - PROPERTIES ( "replication_num" = "1", "disable_auto_compaction" = "true" ); + PROPERTIES ( "replication_num" = "1", "inverted_index_storage_format" = "V2", "disable_auto_compaction" = "true" ); """ sql """ INSERT INTO ${tableName} VALUES diff --git a/regression-test/suites/inverted_index_p0/index_format_v2/test_mor_table_with_format_v2.groovy b/regression-test/suites/inverted_index_p0/index_format_v2/test_mor_table_with_format_v2.groovy index b20148e8bd595a..639f73349cd5d0 100644 --- a/regression-test/suites/inverted_index_p0/index_format_v2/test_mor_table_with_format_v2.groovy +++ b/regression-test/suites/inverted_index_p0/index_format_v2/test_mor_table_with_format_v2.groovy @@ -119,7 +119,7 @@ suite("test_mor_table_with_format_v2", "inverted_index_format_v2") { INDEX idx_date (`date`) USING INVERTED, INDEX idx_city (`city`) USING INVERTED) UNIQUE KEY(`user_id`, `date`, `datev2`, `datetimev2_1`, `datetimev2_2`, `city`, `age`, `sex`) DISTRIBUTED BY HASH(`user_id`) - PROPERTIES ( "replication_num" = "1", "disable_auto_compaction" = "true", "enable_unique_key_merge_on_write" = "false" ); + PROPERTIES ( "replication_num" = "1", "disable_auto_compaction" = "true", "inverted_index_storage_format" = "V2", "enable_unique_key_merge_on_write" = "false" ); """ sql """ INSERT INTO ${tableName} VALUES diff --git a/regression-test/suites/inverted_index_p0/index_format_v2/test_mow_table_with_format_v2.groovy b/regression-test/suites/inverted_index_p0/index_format_v2/test_mow_table_with_format_v2.groovy index 568990c8b4d18e..fcb1a15f3d262e 100644 --- a/regression-test/suites/inverted_index_p0/index_format_v2/test_mow_table_with_format_v2.groovy +++ b/regression-test/suites/inverted_index_p0/index_format_v2/test_mow_table_with_format_v2.groovy @@ -119,7 +119,7 @@ suite("test_mow_table_with_format_v2", "inverted_index_format_v2") { INDEX idx_date (`date`) USING INVERTED, INDEX idx_city (`city`) USING INVERTED) UNIQUE KEY(`user_id`, `date`, `datev2`, `datetimev2_1`, `datetimev2_2`, `city`, `age`, `sex`) DISTRIBUTED BY HASH(`user_id`) - PROPERTIES ( "replication_num" = "1", "disable_auto_compaction" = "true", "enable_unique_key_merge_on_write" = "true" ); + PROPERTIES ( "replication_num" = "1", "disable_auto_compaction" = "true", "inverted_index_storage_format" = "V2", "enable_unique_key_merge_on_write" = "true" ); """ sql """ INSERT INTO ${tableName} VALUES diff --git a/regression-test/suites/inverted_index_p0/index_format_v2/test_single_replica_compaction_with_format_v2.groovy b/regression-test/suites/inverted_index_p0/index_format_v2/test_single_replica_compaction_with_format_v2.groovy index 7826702fa7e816..fce14b8796b1e3 100644 --- a/regression-test/suites/inverted_index_p0/index_format_v2/test_single_replica_compaction_with_format_v2.groovy +++ b/regression-test/suites/inverted_index_p0/index_format_v2/test_single_replica_compaction_with_format_v2.groovy @@ -123,7 +123,7 @@ suite("test_single_replica_compaction_with_format_v2", "inverted_index_format_v2 INDEX idx_date (`date`) USING INVERTED, INDEX idx_city (`city`) USING INVERTED) DUPLICATE KEY(`user_id`, `date`, `datev2`, `datetimev2_1`, `datetimev2_2`, `city`, `age`, `sex`) DISTRIBUTED BY HASH(`user_id`) - PROPERTIES ( "replication_num" = "2", "disable_auto_compaction" = "true", "enable_single_replica_compaction" = "true" ); + PROPERTIES ( "replication_num" = "2", "disable_auto_compaction" = "true", "inverted_index_storage_format" = "V2", "enable_single_replica_compaction" = "true" ); """ sql """ INSERT INTO ${tableName} VALUES