yangzhg opened a new issue #4122:
URL: https://github.com/apache/incubator-doris/issues/4122


   **Describe the bug**
   support create bloom filter index in boolean colunm incorrectly
   
   **To Reproduce**
   `CREATE TABLE create_table_wrong_3_tb ( k1 BOOLEAN NOT NULL, k2 INT NOT 
NULL, v1 BOOLEAN REPLACE NOT NULL, v2 BOOLEAN REPLACE_IF_NOT_NULL NOT NULL ) 
AGGREGATE KEY(k1,k2) DISTRIBUTED BY HASH(k2) BUCKETS 10 PROPERTIES ( 
"bloom_filter_columns"="k1" );`
   
   **Expected behavior**
   report an error ` BOOLEAN is not supported in bloom filter index. invalid 
column: k1` like tinyint 
   
   **Actrual**
   exec success
   
   **Describe the bug**
   Cannot  add a colum with boolean type 
    
   **To Reproduce**
   `ALTER TABLE add_bool_key_column_tb ADD COLUMN k3 boolean default "1";`
   
   **Expected behavior**
   exec success
   **Actrual**
   `ERROR 1064 (HY000): errCode = 2, detailMessage = Unsupported type: BOOLEAN`
   
   


----------------------------------------------------------------
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.

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