mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Added tests. [#CLICKHOUSE-4111]
This commit is contained in:
parent
7a5cfc7a6d
commit
e44213b026
@ -0,0 +1 @@
|
||||
2018-01-02
|
@ -0,0 +1,6 @@
|
||||
drop table if exists test.t;
|
||||
create table test.t (date Date, counter UInt64, sampler UInt64, alias_col alias date + 1) engine = MergeTree(date, intHash32(sampler), (counter, date, intHash32(sampler)), 8192);
|
||||
insert into test.t values ('2018-01-01', 1, 1);
|
||||
select alias_col from test.t sample 1 / 2 where date = '2018-01-01' and counter = 1 and sampler = 1;
|
||||
drop table if exists test.t;
|
||||
|
Loading…
Reference in New Issue
Block a user