aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/sql/suites/sampling/bind_join_right.sql
blob: b044495e84c0b3c5a5e65b8f7b4d9e68ff2ff96b (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]['Write'][0]['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);