aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/s-expressions/suites/Udf/CallOtherCallable.yql
blob: 5d5a0989e001d3c3cd76780e2cc61e072d3a7bb5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
(
#comment
(let config (DataSource 'config))
(let world (Configure! world config 'PureDataSource 'yt))

(let res_sink (DataSink 'result))
(let fromString (Udf 'Callables.FromString))
(let mul (Udf 'Callables.Mul))
(let list (AsList (String '1) (String '2) (String '3) (String '4) (String '5)))
(let data (Apply mul list fromString))
(let world (Write! world res_sink (Key) data '()))
(let world (Commit! world res_sink))
(return world)
)