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

(let res_sink (DataSink 'result))
(let data (AsList (String 'c) (String 'e) (String 'a)))
(let data (Reverse data))
(let data (Sort data (Bool 'true) (lambda '(x) x)))
(let world (Write! world res_sink (Key) data '()))
(let world (Commit! world res_sink))
(return world)
)