ClickHouse/tests/queries/0_stateless/02967_analyzer_fuzz.sql

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

21 lines
953 B
MySQL
Raw Normal View History

2024-01-17 10:39:51 +00:00
-- https://github.com/ClickHouse/ClickHouse/issues/57193
SELECT
2147483647,
count(pow(NULL, 1.0001))
FROM remote(test_cluster_two_shards, system, one)
GROUP BY
makeDateTime64(NULL, NULL, pow(NULL, '257') - '-1', '0.2147483647', 257),
makeDateTime64(pow(pow(NULL, '21474836.46') - '0.0000065535', 1048577), '922337203685477580.6', NULL, NULL, pow(NULL, 1.0001) - 65536, NULL)
WITH CUBE
2024-07-12 12:49:26 +00:00
SETTINGS enable_analyzer = 1;
2024-01-17 10:39:51 +00:00
CREATE TABLE data_01223 (`key` Int) ENGINE = Memory;
CREATE TABLE dist_layer_01223 AS data_01223 ENGINE = Distributed(test_cluster_two_shards, currentDatabase(), data_01223);
CREATE TABLE dist_01223 AS data_01223 ENGINE = Distributed(test_cluster_two_shards, currentDatabase(), dist_layer_01223);
SELECT count(round('92233720368547758.07', '-0.01', NULL, nan, '25.7', '-92233720368547758.07', NULL))
FROM dist_01223
WHERE round(NULL, 1025, 1.1754943508222875e-38, NULL)
WITH TOTALS
2024-07-12 12:49:26 +00:00
SETTINGS enable_analyzer = 1;