You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2020/03/14 01:58:44 UTC

[GitHub] [incubator-doris] trueeyu opened a new issue #3111: [bug] using boolean in uniq model will core dump

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:
users@infra.apache.org


With regards,
Apache Git Services

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