aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/s-expressions/suites/SingleYamrOperation/Fill.yql
blob: e48c1f7a2f81c1511885ff9a30b3a4b06812069c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
(
#comment
(let data (AsList 
(AsStruct '('key (String 'key1)) '('subkey (String '"")) '('value (String 'value1)))
(AsStruct '('key (String 'key2)) '('subkey (String '"")) '('value (String 'value2)))
))
(let mr_sink (DataSink 'yt (quote plato)))
(let world (Write! world mr_sink (Key '('table (String 'Output))) data '('('mode 'append))))
(let world (Commit! world mr_sink))
(return world)
)