aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/s-expressions/suites/ImplictCasts/Take.yqls
blob: b91a23e1defb0293888bfa38617ef2b3a707953a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
(
(let config (DataSource 'config))
(let world (Configure! world config 'PureDataSource 'yt))

(let res_sink (DataSink 'result))
(let data (Take (AsList (String 'a) (String 'b)) (Int64 '1)))
(let world (Write! world res_sink (Key) data '('('type))))
(let world (Commit! world res_sink))
(return world)
)