aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/sql/suites/action/runtime_repr_code.sql
blob: da17985da49e29e95fec1026d95ea8e7cb05911b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
/* syntax version 1 */
/* postgres can not */
$fact = EvaluateCode(
    Yql::Fold(
        ListFromRange(1,11),
        ReprCode(1),
        ($item, $state)->{ 
            return FuncCode("*", $state, ReprCode($item)) 
        })
);

select $fact;