aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/s-expressions/suites/Epochs/ReorderPragmaBeforeTableScheme.yql
blob: ecb64cf46c5ce8bfd096008a95777f4c55b1c27f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
(
(let mr_source (DataSource 'yt 'plato))
(let world (Configure! world (DataSource 'yt '$all) 'Attr 'externaltx '"0-0-0-0"))
(let x (Read! world mr_source
    (Key '('tablescheme (String '"Input")))
    (Void) '(
        '('do_not_fail_on_invalid_schema)
        '('infer_scheme)
    )
))
(let scheme (Right! x))
(let res_sink (DataSink 'result))
(let world (Write! world res_sink (Key) scheme '()))
(return (Commit! world res_sink))
)