复现步骤如下:
步骤一:给字段设置默认值
alter tag httpIp change (namelistType int default 0)
alter tag httpIp change (namelistRemark string default “”)
步骤二
执行脚本:
INSERT VERTEX httpIp(province,city,updateTime,httpIp) VALUES uuid(“httpIp124.64.19.221”):(“北京”,“北京”,“2020-12-20 23:59:53”,“124.64.19.221”);
返回结果:
[ERROR (-8)]: `namelistRemark’ not exist default value
现场脚本复现: