incubator-doris [Bug] Python throw Commands out of sync; you can't run this command now

wwodge7n  于 2022-04-22  发布在  Java
关注(0)|答案(0)|浏览(146)

Describe the bug

When using Python Mysqldb library to execute sql on Doris. Some time it will throw
error:

Commands out of sync; you can't run this command now

To Reproduce

  1. Execute sql like:
execute("insert into table tbl1 select * from tbl2;")

Notice that there is a ; at the end of the statement.

  1. If the insert statement has some warnings, then the error will throw.

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题