aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/sql/suites/join/mergejoin_choose_primary.sql
blob: 97d4a93ea39462ce342ad5d6acb74cb9e7304280 (plain) (blame)
1
2
3
4
5
6
7
8
9
PRAGMA DisableSimpleColumns;
use plato;
pragma yt.JoinMergeTablesLimit="10";
pragma yt.JoinAllowColumnRenames="true";

-- Input2 is smaller than Input1
select * from Input1 as a join Input2 as b on a.k1 = b.k2
order by a.v1, b.v2;