mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
Add tests for #57193
This commit is contained in:
parent
9146391e48
commit
29eb3347cd
4
tests/queries/0_stateless/02967_analyzer_fuzz.reference
Normal file
4
tests/queries/0_stateless/02967_analyzer_fuzz.reference
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
2147483647 0
|
||||||
|
0
|
||||||
|
|
||||||
|
0
|
20
tests/queries/0_stateless/02967_analyzer_fuzz.sql
Normal file
20
tests/queries/0_stateless/02967_analyzer_fuzz.sql
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
-- 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
|
||||||
|
SETTINGS allow_experimental_analyzer = 1;
|
||||||
|
|
||||||
|
|
||||||
|
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
|
||||||
|
SETTINGS allow_experimental_analyzer = 1;
|
Loading…
Reference in New Issue
Block a user