aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/s-expressions/suites/ImplictCasts/AutoConvertByMinusContent.yqls
blob: afe7c047356bcd21b713a863ddb2b17c5f9e8b9e (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
(
(let config (DataSource 'config))
(let world (Configure! world config 'PureDataSource 'yt))

(let res_sink (DataSink 'result))
(let data (AsList (Uint8 '1)))
(let data (Append data (Minus (Int32 '-2))))
(let data (Append data (Minus (Uint32 'x"FCFFFFFF"))))
(let data (Append data (Minus (Int64 '-2))))
(let data (Append data (Minus (Uint64 'x"FCFFFFFFFFFFFFFF"))))
(let world (Write! world res_sink (Key) data '('('type))))
(let data (AsList (Int32 '1)))
(let data (Append data (Minus (Int32 '-2))))
(let data (Append data (Minus (Int32 '2))))
(let data (Append data (Minus (Uint32 'x"FCFFFFFF"))))
(let data (Append data (Minus (Int64 '-2))))
(let data (Append data (Minus (Int64 '2))))
(let data (Append data (Minus (Uint64 'x"FCFFFFFFFFFFFFFF"))))
(let world (Write! world res_sink (Key) data '('('type))))
(let data (AsList (Uint32 '1)))
(let data (Append data (Minus (Int32 '-2))))
(let data (Append data (Minus (Uint32 'x"FCFFFFFF"))))
(let data (Append data (Minus (Int64 '-2))))
(let data (Append data (Minus (Uint64 'x"FCFFFFFFFFFFFFFF"))))
(let world (Write! world res_sink (Key) data '('('type))))
(let data (AsList (Int64 '1)))
(let data (Append data (Minus (Int32 '-2))))
(let data (Append data (Minus (Int32 '2))))
(let data (Append data (Minus (Uint32 'x"FCFFFFFF"))))
(let data (Append data (Minus (Int64 '-2))))
(let data (Append data (Minus (Int64 '2))))
(let data (Append data (Minus (Uint64 'x"FCFFFFFFFFFFFFFF"))))
(let world (Write! world res_sink (Key) data '('('type))))
(let data (AsList (Uint64 '1)))
(let data (Append data (Minus (Int32 '-2))))
(let data (Append data (Minus (Uint32 'x"FCFFFFFF"))))
(let data (Append data (Minus (Int64 '-2))))
(let data (Append data (Minus (Uint64 'x"FCFFFFFFFFFFFFFF"))))
(let world (Write! world res_sink (Key) data '('('type))))
(let world (Commit! world res_sink))
(return world)
)