Open vagetablechicken opened 1 year ago
ExecuteSQL:
openmldb::base::Status error code != hybridse::xx:Status: use kServerError means use openmldb::base::ReturnCode not hybridse::common::StatusCode
kCmdError means sql can't be executed, it'll ok if use the right sql kRuntimeError retry may work
hybridse::base::Status -> hybridse::sdk::Status error code is the same, but not a same class, do convert
insert multi values in sql, e.g. 'insert into t1 values(1).(2),('a')', can't figure out which row is failed to insert. 'success/total' is not useful.
We can find the error position by line no in logs.
v0.6.5-83fbcc77c 127.0.0.1:7125/> use db; SUCCEED: Database changed 127.0.0.1:7125/db> select * from t1; Error: [2001] async offline query failed--ReturnCode[1003]--Fail to get TaskManager client 127.0.0.1:7125/db>