forked from ClickHouse/ClickHouse
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backport ClickHouse#51499 to 23.3: Fix segfault in MathUnary
- Loading branch information
1 parent
0b16d7c
commit 711ac37
Showing
3 changed files
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
1 | ||
1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
DROP TABLE IF EXISTS t10; | ||
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); | ||
DROP TABLE t10; |