aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/sql/suites/action/parallel_for.sql
blob: d9bfcfcedb7c986fbedf0e7b402f82b5a9c3f4db (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
/* yt can not */
use plato;

evaluate parallel for $i in [1,2,1,2,1] do begin
insert into Output
select $i as a;
end do;

commit;
insert into Output with truncate
select a from Output order by a;