Fixed test on Ubuntu Precise [#CLICKHOUSE-2].

This commit is contained in:
Alexey Milovidov 2017-09-20 20:14:45 +03:00
parent 045675be20
commit ac2b615890
2 changed files with 12 additions and 12 deletions

View File

@ -7,9 +7,9 @@
├────────────┼────────────┤
│ 100 │ 100 │
├────────────┼────────────┤
│ 1001 │ 1001
│ 1000 │ 1000
├────────────┼────────────┤
│ 10001 │ 10001
│ 10000 │ 10000
├────────────┼────────────┤
│ 100000 │ 100000 │
├────────────┼────────────┤
@ -25,8 +25,8 @@
│ 1 │ 1 │
│ 10 │ 10 │
│ 100 │ 100 │
│ 1001 │ 1001
│ 10001 │ 10001
│ 1000 │ 1000
│ 10000 │ 10000
│ 100000 │ 100000 │
│ 1000000 │ 1000000 │
│ 10000000 │ 10000000 │
@ -38,8 +38,8 @@
1 1
10 10
100 100
1001 1001
10001 10001
1000 1000
10000 10000
100000 100000
1000000 1000000
10000000 10000000
@ -49,8 +49,8 @@
│ 1 │ 1 │
│ 10 │ 10 │
│ 100 │ 100 │
│ 1001 │ 1001
│ 10001 │ 10001
│ 1000 │ 1000
│ 10000 │ 10000
│ 100000 │ 100000 │
│ 1000000 │ 1000000 │
│ 10000000 │ 10000000 │

View File

@ -1,7 +1,7 @@
SELECT toUInt64(ceil(exp10(number))) AS x, toString(x) AS s FROM system.numbers LIMIT 10 FORMAT Pretty;
SELECT toUInt64(ceil(exp10(number))) AS x, toString(x) AS s FROM system.numbers LIMIT 10 FORMAT PrettyCompact;
SELECT toUInt64(ceil(exp10(number))) AS x, toString(x) AS s FROM system.numbers LIMIT 10 FORMAT PrettySpace;
SELECT toUInt64(round(exp10(number))) AS x, toString(x) AS s FROM system.numbers LIMIT 10 FORMAT Pretty;
SELECT toUInt64(round(exp10(number))) AS x, toString(x) AS s FROM system.numbers LIMIT 10 FORMAT PrettyCompact;
SELECT toUInt64(round(exp10(number))) AS x, toString(x) AS s FROM system.numbers LIMIT 10 FORMAT PrettySpace;
SET max_block_size = 5;
SELECT toUInt64(ceil(exp10(number))) AS x, toString(x) AS s FROM system.numbers LIMIT 10 FORMAT PrettyCompactMonoBlock;
SELECT toUInt64(round(exp10(number))) AS x, toString(x) AS s FROM system.numbers LIMIT 10 FORMAT PrettyCompactMonoBlock;
SELECT '\\''\'' FORMAT Pretty;
SELECT '\\''\'', 1 FORMAT Vertical;