aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/sql/suites/action/insert_after_eval_xlock.sql
blob: c31b9e04eba7d7b9d2501c3b6cda8eb7bacde72c (plain) (blame)
1
2
3
4
5
6
7
8
9
/* syntax version 1 */
/* postgres can not */
/* multirun can not */
USE plato;

$s1 = (select count(*) from Output with xlock);
$s2 = (select max(key) from Output with xlock);
insert into Output with truncate
select EvaluateExpr($s1) as a, EvaluateExpr($s2) as b;