should be it
This commit is contained in:
18
external/duckdb/test/issues/rigger/test_533.test
vendored
Normal file
18
external/duckdb/test/issues/rigger/test_533.test
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
# name: test/issues/rigger/test_533.test
|
||||
# description: Issue 533
|
||||
# group: [rigger]
|
||||
|
||||
statement ok
|
||||
PRAGMA enable_verification
|
||||
|
||||
# Overflow when casting from REAL to INT results in 'Invalid TypeId -1'
|
||||
statement ok
|
||||
CREATE TABLE t0(c0 REAL);
|
||||
|
||||
statement ok
|
||||
INSERT INTO t0(c0) VALUES (10000000000);
|
||||
|
||||
statement error
|
||||
SELECT t0.c0 ::INT FROM t0;
|
||||
----
|
||||
<REGEX>:Conversion Error.*FLOAT.*out of range for.*INT32.*
|
||||
Reference in New Issue
Block a user