ClickHouse/tests/queries/0_stateless/02573_quantile_fuse_msan.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
306 B
MySQL
Raw Normal View History

2023-02-24 23:22:57 +00:00
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);