should be it
This commit is contained in:
17
external/duckdb/test/fuzzer/sqlsmith/timestamp_overflow.test
vendored
Normal file
17
external/duckdb/test/fuzzer/sqlsmith/timestamp_overflow.test
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
# name: test/fuzzer/sqlsmith/timestamp_overflow.test
|
||||
# description: Test timestamp - bigint overflow
|
||||
# group: [sqlsmith]
|
||||
|
||||
statement ok
|
||||
create table all_types as
|
||||
select * exclude(small_enum, medium_enum, large_enum)
|
||||
from test_all_types();
|
||||
|
||||
statement error
|
||||
SELECT c15
|
||||
FROM
|
||||
all_types AS t41(c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15, c16, c17, c18, c19, c20, c21, c22, c23, c24, c25, c26, c27, c28, c29, c30, c31, c32, c33, c34, c35, c36, c37, c38, c39, c40)
|
||||
FULL JOIN
|
||||
(SELECT NULL) ON (list_mad(c34))
|
||||
----
|
||||
Out of Range Error: Overflow in timestamp subtraction
|
||||
Reference in New Issue
Block a user