aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/s-expressions/suites/InMem/CountBits.yql
blob: 5f688a507514b7a4ac5c816a5e4762c2d4e1efc8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
(
#comment
(let config (DataSource 'config))
(let world (Configure! world config 'PureDataSource 'yt))

(let res_sink (DataSink 'result))
(let world (Write! world res_sink (Key) (CountBits (Int8 '-1)) '('('type))))
(let world (Write! world res_sink (Key) (CountBits (Uint8 '7)) '('('type))))
(let world (Write! world res_sink (Key) (CountBits (Int16 '-1)) '('('type))))
(let world (Write! world res_sink (Key) (CountBits (Uint16 '16)) '('('type))))
(let world (Write! world res_sink (Key) (CountBits (Int32 '1)) '('('type))))
(let world (Write! world res_sink (Key) (CountBits (Uint32 '0)) '('('type))))
(let world (Write! world res_sink (Key) (CountBits (Int64 '-7)) '('('type))))
(let world (Write! world res_sink (Key) (CountBits (Uint64 '7)) '('('type))))

(let world (Commit! world res_sink))
(return world)
)