should be it
This commit is contained in:
20
external/duckdb/test/issues/rigger/test_562.test
vendored
Normal file
20
external/duckdb/test/issues/rigger/test_562.test
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
# name: test/issues/rigger/test_562.test
|
||||
# description: Issue 562
|
||||
# group: [rigger]
|
||||
|
||||
statement ok
|
||||
PRAGMA enable_verification
|
||||
|
||||
# SELECT with CASE expression causes an assertion failure 'Assertion `!entry.first->Equals(&expr)' failed'
|
||||
statement ok
|
||||
CREATE TABLE t0(c0 INT);
|
||||
|
||||
statement error
|
||||
SELECT * FROM t0 GROUP BY -4.40304405E8 ORDER BY (CASE 1 WHEN 0 THEN 0 ELSE -440304405 END);
|
||||
----
|
||||
<REGEX>:Binder Error.*must appear in the GROUP BY.*
|
||||
|
||||
query I
|
||||
SELECT 1 FROM t0 GROUP BY -4.40304405E8 ORDER BY (CASE 1 WHEN 0 THEN 0 ELSE -440304405 END);
|
||||
----
|
||||
|
||||
Reference in New Issue
Block a user