mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 17:44:23 +00:00
Update test (but not the reference)
This commit is contained in:
parent
9d4265d727
commit
a4f134fcab
@ -1,6 +1,5 @@
|
||||
SET allow_experimental_bigint_types=1;
|
||||
|
||||
-- no UInt128 as for now
|
||||
CREATE TABLE IF NOT EXISTS test_01035_avg (
|
||||
i8 Int8 DEFAULT i64,
|
||||
i16 Int16 DEFAULT i64,
|
||||
@ -13,6 +12,7 @@ CREATE TABLE IF NOT EXISTS test_01035_avg (
|
||||
u16 UInt16 DEFAULT u64,
|
||||
u32 UInt32 DEFAULT u64,
|
||||
u64 UInt64,
|
||||
u128 UInt128 DEFAULT u64,
|
||||
u256 UInt256 DEFAULT u64,
|
||||
|
||||
f32 Float32 DEFAULT u64,
|
||||
@ -25,14 +25,14 @@ CREATE TABLE IF NOT EXISTS test_01035_avg (
|
||||
) ENGINE = MergeTree() ORDER BY i64;
|
||||
|
||||
SELECT avg(i8), avg(i16), avg(i32), avg(i64), avg(i128), avg(i256),
|
||||
avg(u8), avg(u16), avg(u32), avg(u64), avg(u256),
|
||||
avg(u8), avg(u16), avg(u32), avg(u64), avg(u128), avg(u256),
|
||||
avg(f32), avg(f64),
|
||||
avg(d32), avg(d64), avg(d128), avg(d256) FROM test_01035_avg;
|
||||
|
||||
INSERT INTO test_01035_avg (u64) SELECT number FROM system.numbers LIMIT 1000000;
|
||||
|
||||
SELECT avg(i8), avg(i16), avg(i32), avg(i64), avg(i128), avg(i256),
|
||||
avg(u8), avg(u16), avg(u32), avg(u64), avg(u256),
|
||||
avg(u8), avg(u16), avg(u32), avg(u64), avg(u128), avg(u256),
|
||||
avg(f32), avg(f64),
|
||||
avg(d32), avg(d64), avg(d128), avg(d256) FROM test_01035_avg;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user