should be it
This commit is contained in:
19
external/duckdb/test/issues/rigger/test_560.test
vendored
Normal file
19
external/duckdb/test/issues/rigger/test_560.test
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
# name: test/issues/rigger/test_560.test
|
||||
# description: Issue 560
|
||||
# group: [rigger]
|
||||
|
||||
statement ok
|
||||
PRAGMA enable_verification
|
||||
|
||||
# Incorrect result for SUM() and negative number
|
||||
statement ok
|
||||
CREATE TABLE t0 (c0 INT);
|
||||
|
||||
statement ok
|
||||
INSERT INTO t0 VALUES (0);
|
||||
|
||||
query R
|
||||
SELECT SUM(-1) FROM t0;
|
||||
----
|
||||
-1.000000
|
||||
|
||||
Reference in New Issue
Block a user