blob: d23c50d85c5e52ed8d64ffdd4619a10ad0b3041d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
(
(let mr_source (DataSource 'yt 'plato))
(let res_sink (DataSink 'result))
(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 'Input1))
'('view (String 'raw))
) (Void) '()))
(let world (Left! x))
(let data (Right! x))
(let world (Write! world res_sink (Key) data '()))
(let x (Read! world mr_source (Key
'('table (String 'Input1))
) (Void) '()))
(let world (Left! x))
(let data (Right! x))
(let world (Write! world res_sink (Key) data '()))
(let x (Read! world mr_source (Key
'('table (String 'Input2))
'('view (String 'raw))
) (Void) '()))
(let world (Left! x))
(let data (Right! x))
(let world (Write! world res_sink (Key) data '()))
(let world (Commit! world res_sink))
(return world)
)
|