aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/s-expressions/suites/Optimizers/EquivNodesInLambdas.yql
blob: 3f76dd440f13bdd5d3d319cdb76a7c3b1817c3c0 (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 data (AsList (String 'a) (String 'a)))
(let data1 (Map data (lambda '(x) (Concat x (Concat (String 'l1) (String 'l2))))))
(let data2 (Map data (lambda '(y) (Concat y (Concat (String 'l2) (String 'l1))))))
(let data (Extend data1 data2))
(let world (Write! world res_sink (Key) data '()))
(let world (Commit! world res_sink))
(return world)
)