incubator-doris [BUG] be will be core dump when add a boolean colum to unique table

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

Describe the bug

Add a boolean column to a unique table that already has some data, then select this column be will coredump

To Reproduce

Steps to reproduce the behavior:

  1. create a unique table like CREATE TABLE table1 ( siteid INT DEFAULT '10', citycode SMALLINT, username VARCHAR(32) DEFAULT '', pv BIGINT SUM DEFAULT '0' ) AGGREGATE KEY(siteid, citycode, username) DISTRIBUTED BY HASH(siteid) BUCKETS 10 PROPERTIES("replication_num" = "1");
  2. import some data to this table
  3. add a boolean column like alter table table1 add column v1 boolean null default "false";
  4. exec select v1 from table1;
  5. see the error: ERROR 1064 (HY000): errCode = 2, detailMessage = there is no scanNode Backend

Expected behavior

exec success

Screenshots

暂无答案!

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

相关问题