aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/s-expressions/suites/View/Key1Data.yql
blob: 85a3398e416eb7626202034d7f7948c682475da5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
(
#comment
(let mr_source (DataSource 'yt 'plato))
(let source_any (DataSource 'yt '"$all"))

(let world (Configure! world source_any '"Attr" '"inferschema" '"1"))
(let world (Configure! world source_any '"Attr" '"maxrowweight" '"128m"))

(let x (Read! world mr_source (Key '('table (String 'Input)) '('view (String 'key1))) '('column0) '() ) )
(let world (Left! x))
(let table1 (Right! x))
(let res_sink (DataSink 'result))
(let world (Write! world res_sink (Key) table1 '('('type))))
(let world (Commit! world res_sink))
(return world)
)