aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/s-expressions/suites/Optimizers/HasItemsAfterEnumerate.yql
blob: eb78e634afd85ae59b6f668416ed7f41d1a534ba (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 (HasItems (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)
)