qidaye opened a new issue, #38643:
URL: https://github.com/apache/doris/issues/38643

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) 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?
   
   1. 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"
   );
   ```
   2. rename bloom filter column
   ```
   alter table type_test_mor rename column k1 k1_renamed;
   ```
   3. 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?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to