重启Doris后,发现插入错误,需要重建表,怀疑是Doris Bug

Viewed 74

我使用过doris 2.1.2, 目前升级为3.0.1 都发现过这个问题,就是一张表,使用datax的writer进行写入,写入很简单就是某一个表,image.png,但是几乎每次重启doris后写入会报错,Message":"[ANALYSIS_ERROR]TStatus: errCode = 2, detailMessage = Does not support non-builtin functions, or function does not exist: current_date(0)\n\n\t0# doris::Status doris::Status::create,需要重建这张表,才会正常,所以怀疑是doris的bug导致
image.png

1 Answers

经过测试,发现是有一个字段有个默认值 current_date,导致重启后任务失败,需要重建表,但是不知道为什么这个函数重启后有问题,另外还有字段用的默认值current_timestamp 就是正常的