aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/sql/suites/view/nested_library.sql.txt
blob: 7a227412b7e1603d35a15417e1d401f2ba38054f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
/* unrelated lambda in v1 syntax to check that syntax version for libraries in views is correctly passed */
$unused = ($row) -> ($row);

$lambda_code = QuoteCode(($item) -> (String::AsciiToLower($item)));

$to_lower = EvaluateCode(LambdaCode(($item) -> {
    return FuncCode("Apply", $lambda_code, $item);
}));

export $to_lower;