incubator-doris [bug] using boolean in uniq model will core dump

a5g8bdjr  于 2022-04-22  发布在  Java
关注(0)|答案(0)|浏览(196)

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

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

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题