Merge pull request #46848 from ClickHouse/add-test-43184

Add a test for #43184
This commit is contained in:
Alexey Milovidov 2023-02-25 22:56:05 +03:00 committed by GitHub
commit 93dffb13c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,2 @@
1970-01-01 00:00:00 1970-01-01 00:00:00
1

View File

@ -0,0 +1,5 @@
SET optimize_syntax_fuse_functions=1;
CREATE TEMPORARY TABLE datetime (`d` DateTime('UTC'));
SELECT quantile(0.1)(d), quantile(0.5)(d) FROM datetime;
INSERT INTO datetime SELECT * FROM generateRandom() LIMIT 10;
SELECT max(cityHash64(*)) > 0 FROM (SELECT quantile(0.1)(d), quantile(0.5)(d) FROM datetime);