ClickHouse/tests/queries/0_stateless/02807_math_unary_crash.sql

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

7 lines
239 B
MySQL
Raw Normal View History

2023-06-27 19:47:19 +00:00
DROP TABLE IF EXISTS t10;
2023-06-27 18:34:12 +00:00
CREATE TABLE t10 (`c0` Int32) ENGINE = MergeTree ORDER BY tuple();
INSERT INTO t10 (c0) FORMAT Values (-1);
SELECT 1 FROM t10 GROUP BY erf(-sign(t10.c0));
SELECT 1 FROM t10 GROUP BY -sign(t10.c0);
2023-06-27 19:47:19 +00:00
DROP TABLE t10;