aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/s-expressions/suites/Udf/ProtoFieldOpt.yql
blob: c3b00f1716164206f09883ea34a4ec2611311aa0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
(
#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) table1 '('('type))))
(let world (Commit! world res_sink))
(return world)
)