premap_map_inner.sql 252 B

123456789
  1. PRAGMA DisableSimpleColumns;
  2. PRAGMA DisablePullUpFlatMapOverJoin;
  3. use plato;
  4. pragma yt.MapJoinLimit="1m";
  5. from (select k1, v1 as u1 from Input1) as a
  6. join (select k2, v2 as u2 from Input2) as b on a.k1 = b.k2
  7. select a.k1,a.u1,b.u2
  8. order by a.k1,a.u1;