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

(let res_sink (DataSink 'result))
(let list1 (AsList (Uint32 '1) (Uint32 '2) (Uint32 '3)))
(let list2 (AsList (Uint32 '4) (Uint32 '5) (Uint32 '6)))
(let world (Write! world res_sink (Key) (Collect (Skip (Iterator list1) (Uint64 '2))) '('('type))))
(let world (Write! world res_sink (Key) (Collect (Skip (Iterator list2) (Uint64 '0))) '('('type))))
(let world (Commit! world res_sink))
(return world)
)