aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/s-expressions/suites/Result/LengthOfTable.yqls
blob: c6c4df17725051c7c3428f730640d782c71b55ca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
(
#comment
(let mr_source (DataSource 'yt 'plato))
(let x (Read! world mr_source (Key '('table (String 'Input))) '('key 'subkey 'value) '()))
(let world (Left! x))
(let table1 (Right! x))

(let res_sink (DataSink 'result))
(let world (Write! world res_sink (Key) (Length table1) '()))
(let world (Commit! world res_sink))
(return world)
)