aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/sql/suites/produce/discard_process_with_lambda.sql
blob: ea5a9252ff696dfd9647bf75cc1bf9bd73271678 (plain) (blame)
1
2
3
4
5
6
7
8
/* syntax version 1 */
/* postgres can not */
$udf = YQL::@@(lambda '(x) 
(FlatMap x 
   (lambda '(y) (AsList y y))
))@@;

discard process plato.Input0 using $udf(TableRows());