summaryrefslogtreecommitdiffstats
path: root/yt/yql/tests/sql/suites/sampling/bind_join_right.yql
blob: 2f40997895a82b3ec3c6496860f52e5f674b661d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
/* syntax version 1 */
/* postgres can not */
/* hybridfile can not YQL-17764 */
/* custom check: len(yt_res_yson[0][b'Write'][0][b'Data']) < 3 */

use plato;
pragma DisableSimpleColumns;

$a = select * from Input where key > "199" and value != "bbb";

select * from (select a.value from Input as a inner join $a as b using(subkey)) tablesample bernoulli(40);