Fix CPU-dependent behaviour in tests

This commit is contained in:
Alexey Milovidov 2021-04-04 12:55:04 +03:00
parent 7512227431
commit 3ae0c7e17a
2 changed files with 49 additions and 49 deletions

View File

@ -20,51 +20,51 @@
170.21 MiB 170.21 MiB 170.21 MiB 170.21 MiB 170.21 MiB 170.21 MiB
462.69 MiB 462.69 MiB 462.69 MiB 462.69 MiB 462.69 MiB 462.69 MiB
1.23 GiB 1.23 GiB 1.23 GiB 1.23 GiB 1.23 GiB 1.23 GiB
3.34 GiB 3.34 GiB -2.00 GiB 3.34 GiB 3.34 GiB 2.00 GiB
9.08 GiB 9.08 GiB -2.00 GiB 9.08 GiB 9.08 GiB 2.00 GiB
24.67 GiB 24.67 GiB -2.00 GiB 24.67 GiB 24.67 GiB 2.00 GiB
67.06 GiB 67.06 GiB -2.00 GiB 67.06 GiB 67.06 GiB 2.00 GiB
182.29 GiB 182.29 GiB -2.00 GiB 182.29 GiB 182.29 GiB 2.00 GiB
495.51 GiB 495.51 GiB -2.00 GiB 495.51 GiB 495.51 GiB 2.00 GiB
1.32 TiB 1.32 TiB -2.00 GiB 1.32 TiB 1.32 TiB 2.00 GiB
3.58 TiB 3.58 TiB -2.00 GiB 3.58 TiB 3.58 TiB 2.00 GiB
9.72 TiB 9.72 TiB -2.00 GiB 9.72 TiB 9.72 TiB 2.00 GiB
26.42 TiB 26.42 TiB -2.00 GiB 26.42 TiB 26.42 TiB 2.00 GiB
71.82 TiB 71.82 TiB -2.00 GiB 71.82 TiB 71.82 TiB 2.00 GiB
195.22 TiB 195.22 TiB -2.00 GiB 195.22 TiB 195.22 TiB 2.00 GiB
530.66 TiB 530.66 TiB -2.00 GiB 530.66 TiB 530.66 TiB 2.00 GiB
1.41 PiB 1.41 PiB -2.00 GiB 1.41 PiB 1.41 PiB 2.00 GiB
3.83 PiB 3.83 PiB -2.00 GiB 3.83 PiB 3.83 PiB 2.00 GiB
10.41 PiB 10.41 PiB -2.00 GiB 10.41 PiB 10.41 PiB 2.00 GiB
28.29 PiB 28.29 PiB -2.00 GiB 28.29 PiB 28.29 PiB 2.00 GiB
76.91 PiB 76.91 PiB -2.00 GiB 76.91 PiB 76.91 PiB 2.00 GiB
209.06 PiB 209.06 PiB -2.00 GiB 209.06 PiB 209.06 PiB 2.00 GiB
568.30 PiB 568.30 PiB -2.00 GiB 568.30 PiB 568.30 PiB 2.00 GiB
1.51 EiB 1.51 EiB -2.00 GiB 1.51 EiB 1.51 EiB 2.00 GiB
4.10 EiB 4.10 EiB -2.00 GiB 4.10 EiB 4.10 EiB 2.00 GiB
11.15 EiB 11.15 EiB -2.00 GiB 11.15 EiB 11.15 EiB 2.00 GiB
30.30 EiB 0.00 B -2.00 GiB 30.30 EiB 16.00 EiB 2.00 GiB
82.37 EiB 0.00 B -2.00 GiB 82.37 EiB 16.00 EiB 2.00 GiB
223.89 EiB 0.00 B -2.00 GiB 223.89 EiB 16.00 EiB 2.00 GiB
608.60 EiB 0.00 B -2.00 GiB 608.60 EiB 16.00 EiB 2.00 GiB
1.62 ZiB 0.00 B -2.00 GiB 1.62 ZiB 16.00 EiB 2.00 GiB
4.39 ZiB 0.00 B -2.00 GiB 4.39 ZiB 16.00 EiB 2.00 GiB
11.94 ZiB 0.00 B -2.00 GiB 11.94 ZiB 16.00 EiB 2.00 GiB
32.45 ZiB 0.00 B -2.00 GiB 32.45 ZiB 16.00 EiB 2.00 GiB
88.21 ZiB 0.00 B -2.00 GiB 88.21 ZiB 16.00 EiB 2.00 GiB
239.77 ZiB 0.00 B -2.00 GiB 239.77 ZiB 16.00 EiB 2.00 GiB
651.77 ZiB 0.00 B -2.00 GiB 651.77 ZiB 16.00 EiB 2.00 GiB
1.73 YiB 0.00 B -2.00 GiB 1.73 YiB 16.00 EiB 2.00 GiB
4.70 YiB 0.00 B -2.00 GiB 4.70 YiB 16.00 EiB 2.00 GiB
12.78 YiB 0.00 B -2.00 GiB 12.78 YiB 16.00 EiB 2.00 GiB
34.75 YiB 0.00 B -2.00 GiB 34.75 YiB 16.00 EiB 2.00 GiB
94.46 YiB 0.00 B -2.00 GiB 94.46 YiB 16.00 EiB 2.00 GiB
256.78 YiB 0.00 B -2.00 GiB 256.78 YiB 16.00 EiB 2.00 GiB
698.00 YiB 0.00 B -2.00 GiB 698.00 YiB 16.00 EiB 2.00 GiB
1897.37 YiB 0.00 B -2.00 GiB 1897.37 YiB 16.00 EiB 2.00 GiB
5157.59 YiB 0.00 B -2.00 GiB 5157.59 YiB 16.00 EiB 2.00 GiB
14019.80 YiB 0.00 B -2.00 GiB 14019.80 YiB 16.00 EiB 2.00 GiB
38109.75 YiB 0.00 B -2.00 GiB 38109.75 YiB 16.00 EiB 2.00 GiB
103593.05 YiB 0.00 B -2.00 GiB 103593.05 YiB 16.00 EiB 2.00 GiB
281595.11 YiB 0.00 B -2.00 GiB 281595.11 YiB 16.00 EiB 2.00 GiB
765454.88 YiB 0.00 B -2.00 GiB 765454.88 YiB 16.00 EiB 2.00 GiB

View File

@ -1,4 +1,4 @@
WITH round(exp(number), 6) AS x, toUInt64(x) AS y, toInt32(x) AS z WITH round(exp(number), 6) AS x, x > 0xFFFFFFFFFFFFFFFF ? 0xFFFFFFFFFFFFFFFF : toUInt64(x) AS y, x > 0x7FFFFFFF ? 0x7FFFFFFF : toInt32(x) AS z
SELECT formatReadableSize(x), formatReadableSize(y), formatReadableSize(z) SELECT formatReadableSize(x), formatReadableSize(y), formatReadableSize(z)
FROM system.numbers FROM system.numbers
LIMIT 70; LIMIT 70;