提交 fb3a28f6 编写于 作者: A Alexey Milovidov

Added test [#METR-22032].

上级 6aa533ac
1 1 2016-07-07
-1 -1 2016-07-07
1 1 2016-07-07
-1 -1 2016-07-07
DROP TABLE IF EXISTS test.index;
CREATE TABLE test.index
(
key Int32,
name String,
merge_date Date
) ENGINE = MergeTree(merge_date, key, 8192);
insert into test.index values (1,'1','2016-07-07');
insert into test.index values (-1,'-1','2016-07-07');
select * from test.index where key = 1;
select * from test.index where key = -1;
OPTIMIZE TABLE test.index;
select * from test.index where key = 1;
select * from test.index where key = -1;
DROP TABLE test.index;
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册