aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/s-expressions/suites/Optimizers/LengthAfterEnumerate.yql
blob: 3926c6303f043c384314d1b72ba431743b9c0ef0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
(
(let config (DataSource 'config))
(let world (Configure! world config 'PureDataSource 'yt))

(let data (Length (Enumerate (AsList (String 'a) (String 'b) (String 'c)))))
(let res_sink (DataSink 'result))
(let world (Write! world res_sink (Key) data '()))

(let world (Commit! world res_sink))
(return world)
)