cambyzju opened a new pull request, #12353: URL: https://github.com/apache/doris/pull/12353
# Proposed changes Issue Number: close #xxx ## Problem summary Describe your changes. Array column do no support bloom filter index, return error while create or add bloom filter: 1. create table case: `CREATE TABLE test_array_alter_test_array_bloom_filter_tb ( k1 int NOT NULL, a1 array<boolean> NOT NULL, a2 array<tinyint> NOT NULL, a3 array<smallint> NOT NULL, a4 array<int> NOT NULL, a5 array<bigint> NOT NULL, a6 array<largeint> NOT NULL, a7 array<decimal(27, 7)> NOT NULL, a8 array<float> NOT NULL, a9 array<double> NOT NULL, a10 array<date> NOT NULL, a11 array<datetime> NOT NULL, a12 array<char(20)> NOT NULL, a13 array<varchar(50)> NOT NULL, a14 array<string> NOT NULL ) DUPLICATE KEY(k1) DISTRIBUTED BY HASH(k1) BUCKETS 5 PROPERTIES ( "bloom_filter_columns"="k1,a2" );` ERROR 1105 (HY000): errCode = 2, detailMessage = errCode = 2, detailMessage = ARRAY is not supported in bloom filter index. invalid column: a2 2. alter table case: `alter table test_array_alter_test_array_bloom_filter_tb add index aaa(a2) USING BITMAP;` ERROR 1105 (HY000): errCode = 2, detailMessage = ARRAY is not supported in bitmap index. invalid column: a2 ## Checklist(Required) 1. Does it affect the original behavior: - [ ] Yes - [ ] No - [ ] I don't know 2. Has unit tests been added: - [ ] Yes - [ ] No - [ ] No Need 3. Has document been added or modified: - [ ] Yes - [ ] No - [ ] No Need 4. Does it need to update dependencies: - [ ] Yes - [ ] No 5. Are there any changes that cannot be rolled back: - [ ] Yes (If Yes, please explain WHY) - [ ] No ## Further comments If this is a relatively large or complex change, kick off the discussion at [d...@doris.apache.org](mailto:d...@doris.apache.org) by explaining why you chose the solution you did and what alternatives you considered, etc... -- 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 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