aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/sql/suites/lineage/nested_lambda_fields.sql
blob: 9091bae31ec72d62faab046de071f9ef66f93aba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
USE plato;

$v = ($x) -> {
    return ListFilter(["a","b"],($y)->($y = $x));
};

$k = ($x) -> {
    return $x;
};


insert into Output
with truncate
select
    $k(key) as k,
    $v(value) as v
from
    Input