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