1.doris 无法用 delete from 删除整个表数据
2.doris 本身事务只支持 insert、rollback、commit
Error 1105 (HY000) : TException,msg: org.apache.thrift.TException: This is in a transaction, only insert, commit, rollback is acceptable
最坑的是下面这段,不会报错,但是事务也不会生效 db, err := sql.Open("mysql", datasource) tx, err1 := db.Begin() 具体逻辑... err1 = tx.Rollback() err1 = tx.Commit()
3.beego orm无法操作 doris
报错信息 panic:Error 1054 (42S22) : errCode = 2, detailMessage = Unknown column ‘UTC_TIMESTAMP’ in ‘table list’
换用 go 原生库 “database/sql” 对 doris 进行操作