ClickHouse/tests/queries/0_stateless/02479_analyzer_aggregation_crash.sql

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

14 lines
471 B
MySQL
Raw Normal View History

2022-11-10 11:50:56 +00:00
SET allow_experimental_analyzer = 1;
SET compile_aggregate_expressions = 1;
SET min_count_to_compile_aggregate_expression = 0;
DROP TABLE IF EXISTS lc_00906__fuzz_46;
CREATE TABLE lc_00906__fuzz_46 (`b` Int64) ENGINE = MergeTree ORDER BY b;
INSERT INTO lc_00906__fuzz_46 SELECT '0123456789' FROM numbers(10);
SELECT count(3.4028234663852886e38), b FROM lc_00906__fuzz_46 GROUP BY b;
SELECT count(1), b FROM lc_00906__fuzz_46 GROUP BY b;
DROP TABLE lc_00906__fuzz_46;