trueeyu opened a new issue #3111: [bug] using boolean in uniq model will core 
dump
URL: https://github.com/apache/incubator-doris/issues/3111
 
 
   **Describe the bug**
   When create table with boolean type in Uniq model。load data will cause be to 
core dump。
   
   Memtable current don't support the replace of boolean value in uniq model.
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. 启用 SegmentV2
   
   > set global default_rowset_type=beta;
   
   2. Create Table
   
   > create table t1 (c1 int, c2 boolean) aggregate key(c1) distributed by 
hash(c1) buckets1 properties("replication_num"=1) 
   
   3. Insert data
   
   > insert into t1(c1, c2) values(1, true)
   
   4. Doredump
   
   
![选区_019](https://user-images.githubusercontent.com/11428742/76672771-1ce0ec80-65da-11ea-807e-b73716ff92ab.png)
   
   
   **analyse**
   
   Memtable replace don't support boolean type
   
   **other**
   
   segment v1 column writer dont't support boolean type
   
   **How to fix**
   
   * memtable support replace boolean value
   * column writer for v1 support boolean type
   

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


With regards,
Apache Git Services

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

Reply via email to