-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Description
Search before asking
- I had searched in the issues and found no similar issues.
Version
master
What's Wrong?
rename bloom filter column succeeded, but the bloom_filter_columns in properties is not updated.
What You Expected?
rename bloom filter column succeeded,and the bloom_filter_columns in properties is updated too.
How to Reproduce?
- create table
create table type_test_mor (
k1 INT,
v VARIANT,
v2 VARCHAR(300),
s STRING,
INDEX v (`v`) USING INVERTED,
INDEX v2(`v2`) USING BITMAP,
INDEX s(`s`) USING NGRAM_BF PROPERTIES("gram_size"="3", "bf_size"="256")
) unique key(k1) distributed by hash(k1) buckets 1
properties(
"bloom_filter_columns" = "k1",
"replication_num" = "1",
"enable_unique_key_merge_on_write" = "false"
);
- rename bloom filter column
alter table type_test_mor rename column k1 k1_renamed;
- show create table
CREATE TABLE `type_test_mor` (
`k1_renamed` INT NULL,
`v` VARIANT NULL,
`v2` VARCHAR(300) NULL,
`s_renamed` TEXT NULL,
INDEX v (`v`) USING INVERTED,
INDEX v2 (`v2`) USING INVERTED,
INDEX s (`s`) USING NGRAM_BF PROPERTIES("bf_size" = "256", "gram_size" = "3")
) ENGINE=OLAP
UNIQUE KEY(`k1_renamed`)
DISTRIBUTED BY HASH(`k1_renamed`) BUCKETS 1
PROPERTIES (
"replication_allocation" = "tag.location.default: 1",
"min_load_replica_num" = "-1",
"bloom_filter_columns" = "k1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V2",
"enable_unique_key_merge_on_write" = "false",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728"
);
Anything Else?
No response
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
No labels