version: 2.6.0
schema:
importer 导入csv:
错误:
, ErrMsg: Wrong value type: timestamp(“”), ErrCode: -1005
因为允许为空,所以单独insert的时候该字段为空,就不用添加到insert语句中,但是像importer这种批量导入该怎么处理呢?
version: 2.6.0
schema:
因为允许为空,所以单独insert的时候该字段为空,就不用添加到insert语句中,但是像importer这种批量导入该怎么处理呢?
在那个字段里手动填个 NULL 可以不?
不行啊,因为是timestamp格式,导入的时候会自动timestamp(‘data’)
换成datetime
此话题已在最后回复的 30 天后被自动关闭。不再允许新回复。