aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/s-expressions/suites/Result/ListTakeOption.yql
blob: 215ec6bf7911838907d03a0aa7f8203c7315ff2f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
(
#comment
(let config (DataSource 'config))
(let world (Configure! world config 'PureDataSource 'yt))

(let res_sink (DataSink 'result))
(let data (AsList (Uint32 '3) (Uint32 '5) (Uint32 '7) (Uint32 '10)))
(let world (Write! world res_sink (Key) data '('('take '2))))
(let world (Commit! world res_sink))
(return world)
)