This commit is contained in:
RedClusive 2021-04-27 08:44:48 +00:00
parent 6766dddbf4
commit 508efc8321

View File

@ -1,6 +1,6 @@
DROP TABLE IF EXISTS datetime; DROP TABLE IF EXISTS datetime;
CREATE TABLE datetime (d DateTime) ENGINE = Memory; CREATE TABLE datetime (d DateTime('UTC')) ENGINE = Memory;
INSERT INTO datetime(d) VALUES(toDateTime('2016-06-15 23:00:00')); INSERT INTO datetime(d) VALUES(toDateTime('2016-06-15 23:00:00'));
SELECT quantile(0.2)(d) FROM datetime; SELECT quantile(0.2)(d) FROM datetime;