doris版本:1.2.6
使用mysql jdbc方式执行sql,如果sql中包含多条语句,如下
drop table if exists test.table01;
create table test.table01 as select * from test.table02;
这个语句可能只消耗0.1秒就结束了,但是查询test.table01却没有数据,使用"show load"语句可以看到第二条"create table test.table01 xxxx"并不是0.1秒就结束了,而是消耗了5秒左右。如果单独执行第二条语句,确实是消耗了5秒左右才结束。多条语句执行感觉后面的语句的执行变成异步了。