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

(let res_sink (DataSink 'result))
(let list (AsList (String 'aaa) (String 'bbb) (String 'ccc)))
(let world (Write! world res_sink (Key) (Collect (Iterator list)) '('('type))))
(let world (Write! world res_sink (Key) (Collect (Collect (LazyList (LazyList (Collect list))))) '('('type))))
(let world (Commit! world res_sink))
(return world)
)