Gabriel39 commented on issue #9374:
URL: 
https://github.com/apache/incubator-doris/issues/9374#issuecomment-1118291912

   > Do you have a sql that can reproduce this error?
   @BiteTheDDDDt 
   I create table using statement:
   `
   CREATE TABLE IF NOT EXISTS compaction_tbl
   (
       `user_id` LARGEINT NOT NULL COMMENT "用户id",
       `date` DATE NOT NULL COMMENT "数据灌入日期时间",
       `city` VARCHAR(20) COMMENT "用户所在城市",
       `age` SMALLINT COMMENT "用户年龄",
       `sex` TINYINT COMMENT "用户性别",
       `last_visit_date` DATETIME REPLACE DEFAULT "1970-01-01 00:00:00" COMMENT 
"用户最后一次访问时间",
       `last_update_date` DATETIME REPLACE_IF_NOT_NULL DEFAULT "1970-01-01 
00:00:00" COMMENT "用户最后一次更新时间",
       `last_visit_date_not_null` DATETIME REPLACE NOT NULL DEFAULT "1970-01-01 
00:00:00" COMMENT "用户最后一次访问时间",
       `cost` BIGINT SUM DEFAULT "0" COMMENT "用户总消费",
       `max_dwell_time` INT MAX DEFAULT "0" COMMENT "用户最大停留时间",
       `min_dwell_time` INT MIN DEFAULT "99999" COMMENT "用户最小停留时间",
       `hll_col` HLL HLL_UNION NOT NULL COMMENT "HLL列",
       `bitmap_col` Bitmap BITMAP_UNION NOT NULL COMMENT "bitmap列"
   )
   AGGREGATE KEY(`user_id`, `date`, `city`, `age`, `sex`)
   DISTRIBUTED BY HASH(user_id) PROPERTIES("replication_num" = "1");
   
   `
   
   Insert some test data and after a while, background compaction task will 
core.


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to