aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/s-expressions/suites/File/FillWithFileContent.yql
blob: 203ac402541f398ea441c395a1aa49170d8bfa38 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
(
#comment
(let data (AsList 
(AsStruct '('key (String 'key1)) '('subkey (String '"")) '('value (FileContent 'MyFile)))
))

(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)
)