Merge pull request #3639 from s-mx/patch-2

add DROP TABLE IF EXISTS in test
This commit is contained in:
alexey-milovidov 2018-11-22 18:29:10 +03:00 committed by GitHub
commit 53904efc6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,3 +1,5 @@
DROP TABLE IF EXISTS test.datetime;
CREATE TABLE test.datetime (d DateTime) ENGINE = Memory;
INSERT INTO test.datetime(d) VALUES(toDateTime('2016-06-15 23:00:00'));
@ -24,3 +26,5 @@ SELECT quantilesTDigest(0.2)(d) FROM test.datetime;
SELECT quantileTDigestWeighted(0.2)(d, 1) FROM test.datetime;
SELECT quantilesTDigestWeighted(0.2)(d, 1) FROM test.datetime;
DROP TABLE test.datetime;