Added test [#METR-24079].

This commit is contained in:
Alexey Milovidov 2017-01-12 03:33:02 +03:00
parent e8855c6f0f
commit 480cb57a2f
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,7 @@
DROP TABLE IF EXISTS test.merge_tree;
CREATE TABLE test.merge_tree (x UInt64, date Date) ENGINE = MergeTree(date, x, 1);
INSERT INTO test.merge_tree VALUES (1, '2000-01-01');
SELECT x AS y, y FROM test.merge_tree;
DROP TABLE IF EXISTS test.merge_tree;