aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/sql/suites/sampling/yql-14664_deps.sql
blob: 1ce0ee946328eef5cb167d4e3fd030408d9282d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* postgres can not */
/* custom check: len(yt_res_yson[0]['Write'][0]['Data']) < 10 */
USE plato;

INSERT INTO @a
SELECT
    *
FROM Input
WHERE key > "020";

COMMIT;

SELECT 
    *
FROM (
    SELECT
        *
    FROM  @a
    TABLESAMPLE BERNOULLI(50.0) REPEATABLE(1)
) LIMIT 10