aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/s-expressions/suites/Optimizers/SkipOverExtend.yql
blob: 3ec439ddde5f12025e4e95085fac328cfe4b221f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
(
(let config (DataSource 'config))
(let world (Configure! world config 'PureDataSource 'yt))

(let list1 (AsList (String 'a) (String 'b) (String 'c)))
(let list2 (AsList (String 'd) (String 'e) (String 'f)))
(let res_sink (DataSink 'result))
(let world (Write! world res_sink
    (Key)
    (Skip (Extend list1 list2) (Uint64 '1)) '()))

(let world (Write! world res_sink
    (Key)
    (Skip (Extend list1 list2) (Uint64 '5)) '()))

(let world (Commit! world res_sink))
(return world)
)