Skip to content

Commit

Permalink
add format info
Browse files Browse the repository at this point in the history
  • Loading branch information
qidaye committed Aug 1, 2024
1 parent e4a3497 commit 86e16b0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 86e16b0

Please sign in to comment.