aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/s-expressions/suites/File/ConfigureFileFromUrl.yql
blob: b6d23e3c3ee239749b0970c1b27145ca5c21c187 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
# canonize yson here
(
(let config (DataSource 'config))
(let world (Configure! world config 'PureDataSource 'yt))
(let world (Configure! world config 'AddFileByUrl 'Tony 'https://yadi.sk/a/pk0iwMkNuNYgM/57b9c14c6fcc2a565515fab9))

(let res_sink (DataSink 'result))
(let world (Write! world res_sink (Key) (Files '/home) '('('type))))
(let world (Commit! world res_sink))
(return world)
)