aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/s-expressions/suites/ImplictCasts/Shift.yqls
blob: 718fabeac3ea3bfd41c47d15b9ed27f5316ef2b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
(
(let config (DataSource 'config))
(let world (Configure! world config 'PureDataSource 'yt))

(let res_sink (DataSink 'result))
(let data (ShiftLeft (Int32 '"1") (Int64 '"10")))
(let world (Write! world res_sink (Key) data '('('type))))
(let data (ShiftLeft (Int64 '"1") (Int64 '"10")))
(let world (Write! world res_sink (Key) data '('('type))))
(let data (ShiftLeft (Int32 '"1") (Int64 '"40")))
(let world (Write! world res_sink (Key) data '('('type))))
(let data (ShiftLeft (Int64 '"1") (Int64 '"40")))
(let world (Write! world res_sink (Key) data '('('type))))
(let world (Commit! world res_sink))
(let data (ShiftLeft (Just (Int32 '"1")) (Int64 '"10")))
(let world (Write! world res_sink (Key) data '('('type))))
(let data (ShiftLeft (Just (Int64 '"1")) (Int64 '"10")))
(let world (Write! world res_sink (Key) data '('('type))))
(let data (ShiftLeft (Just (Int32 '"1")) (Int64 '"40")))
(let world (Write! world res_sink (Key) data '('('type))))
(let data (ShiftLeft (Just (Int64 '"1")) (Int64 '"40")))
(let world (Write! world res_sink (Key) data '('('type))))
(let world (Commit! world res_sink))
(return world)
)