yql-8131.sql 411 B

1234567891011121314
  1. /* kikimr can not */
  2. use plato;
  3. PRAGMA DisableSimpleColumns;
  4. PRAGMA yt.JoinCollectColumnarStatistics="async";
  5. PRAGMA yt.MinTempAvgChunkSize="0";
  6. PRAGMA yt.MapJoinLimit="1";
  7. SELECT *
  8. FROM (select distinct key,subkey from Input where cast(key as Int32) > 100 order by key limit 100) as a
  9. RIGHT JOIN (select key,value from Input where cast(key as Int32) < 500) as b
  10. USING(key)
  11. ORDER BY a.key,a.subkey,b.value;