mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
Added test
This commit is contained in:
parent
ed0826efa7
commit
3eed1c8c2b
11
tests/queries/0_stateless/01305_buffer_final_bug.sql
Normal file
11
tests/queries/0_stateless/01305_buffer_final_bug.sql
Normal file
@ -0,0 +1,11 @@
|
||||
drop table if exists t;
|
||||
drop table if exists t_buf;
|
||||
|
||||
create table t (x UInt64) engine = MergeTree order by (x, intHash64(x)) sample by intHash64(x);
|
||||
insert into t select number from numbers(10000);
|
||||
create table t_buf as t engine = Buffer(currentDatabase(), 't', 16, 20, 100, 100000, 10000000, 50000000, 250000000);
|
||||
insert into t_buf values (1);
|
||||
select count() from t_buf sample 1/2 format Null;
|
||||
|
||||
drop table if exists t_buf;
|
||||
drop table if exists t;
|
Loading…
Reference in New Issue
Block a user