aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/s-expressions/suites/Result/PullOverLimit.yqls
blob: 4b7f4fc30c6a4d5a3c596aacb006e64032596fce (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
(
(let x (Read! world (DataSource 'yt 'plato) (Key '('table (String 'Input))) (Void) '()))
(let world (Left! x))
(let data (Take (Right! x) (Uint64 '3)))
(let result_sink (DataSink 'result))
(let world (Write! world result_sink (Key) data '('('type) '('autoref) '('take '2))))
(let plato_sink (DataSink 'yt 'plato))
(let world (Commit! world plato_sink))
(let world (Commit! world result_sink))
(return world)
)