create table a1 as
select * from a limit 500000,500000;
看起来很正常的sql,但a1表的查询结果是0,数据没有成功insert进去,而且也不报错。
不知道触碰了哪里的bug,后来加了order by排序后才成功写入。
create table a1 as
select * from a order by b limit 500000,500000;
希望知道原因的大神不吝赐教
create table a1 as
select * from a limit 500000,500000;
看起来很正常的sql,但a1表的查询结果是0,数据没有成功insert进去,而且也不报错。
不知道触碰了哪里的bug,后来加了order by排序后才成功写入。
create table a1 as
select * from a order by b limit 500000,500000;
希望知道原因的大神不吝赐教