mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 07:01:59 +00:00
dbms: added test [#METR-15790].
This commit is contained in:
parent
7b3ab80648
commit
694939cee8
@ -0,0 +1 @@
|
||||
2009-02-01 1234567890
|
@ -0,0 +1,7 @@
|
||||
DROP TABLE IF EXISTS test.default;
|
||||
|
||||
CREATE TABLE test.default (d Date DEFAULT toDate(t), t DateTime) ENGINE = MergeTree(d, t, 8192);
|
||||
INSERT INTO test.default (t) VALUES ('1234567890');
|
||||
SELECT toStartOfMonth(d), toUInt32(t) FROM test.default;
|
||||
|
||||
DROP TABLE test.default;
|
Loading…
Reference in New Issue
Block a user