aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/s-expressions/suites/ManyInputTables/GroupAfterWeakConcat.yql
blob: 1afa2e265e9fc642d6338d0dcdd63687ee34185a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
(
#comment
(import aggregate_module '"/lib/yql/aggregate.yql")
(let mr_source (DataSource 'yt 'plato))
(let x (Read! world mr_source (MrTableConcat (Key '('table (String 'Input1))) (Key '('table (String 'Input2)))) (Void) '()))
(let world (Left! x))
(let core (Right! x))
(let core (Aggregate core '('"age") '('('cnt (Apply (bind aggregate_module '"count_traits_factory") (TypeOf core) (lambda '(row) (Void)))))))
(let mr_sink (DataSink 'yt (quote plato)))
(let world (Write! world mr_sink (Key '('table (String 'Output))) core '()))
(let world (Commit! world mr_sink))
(return world)
)