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

(let res_sink (DataSink 'result))
(let gen (NewMTRand (Uint64 '42)))
(let p (NextMTRand gen))
(let gen (Nth p '1))
(let v1 (Nth p '0))
(let p (NextMTRand gen))
(let gen (Nth p '1))
(let v2 (Nth p '0))
(let world (Write! world res_sink (Key) '(v1 v2) '('('type))))
(let world (Commit! world res_sink))
(return world)
)