lookupjoin_with_cache.sql 413 B

12345678910111213141516171819
  1. /* postgres can not */
  2. /* kikimr can not */
  3. use plato;
  4. PRAGMA DisableSimpleColumns;
  5. pragma yt.LookupJoinLimit="64k";
  6. pragma yt.LookupJoinMaxRows="100";
  7. pragma yt.QueryCacheMode="normal";
  8. pragma yt.QueryCacheUseForCalc="true";
  9. insert into @tmp with truncate
  10. select * from Input
  11. where subkey == "bbb"
  12. order by key;
  13. commit;
  14. select * from Input as a
  15. inner join @tmp as b on a.key = b.key
  16. order by a.key, a.subkey;