aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/s-expressions/suites/SingleYamrOperation/Drop.yql
blob: 72c7873e910598ed9a87e373c75e5042453d9e48 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
(
(let mr_sink (DataSink 'yt 'plato))
(let data (AsList (AsStruct '('key (String 'abc)))))

(let world (Write! world mr_sink
    (Key '('table (String 'Output)))
    data '('('mode 'renew))
))

(let world (Commit! world mr_sink))

(let world (Write! world mr_sink
    (Key '('table (String 'Output)))
    (Void) '('('mode 'drop))
))

(let world (Commit! world mr_sink))
(return world)
)