join_comp_map_table.sql 683 B

1234567891011121314
  1. PRAGMA DisableSimpleColumns;
  2. /* postgres can not */
  3. pragma yt.MapJoinLimit="1m";
  4. use plato;
  5. $i = (select AsList(key) as x from Input);
  6. $j = (select Just(AsList(key)) as y from Input);
  7. select a.x as zzz,b.y as fff from $i as a inner join $j as b on a.x = b.y;
  8. select a.x as zzz,b.y as fff from $i as a right join $j as b on a.x = b.y;
  9. select a.x as zzz,b.y as fff from $i as a left join $j as b on a.x = b.y;
  10. select a.x as zzz from $i as a left semi join $j as b on a.x = b.y;
  11. select a.x as zzz from $i as a left only join $j as b on a.x = b.y;
  12. select b.y as fff from $i as a right semi join $j as b on a.x = b.y;
  13. select b.y as fff from $i as a right only join $j as b on a.x = b.y;