Files
email-tracker/external/duckdb/test/issues/rigger/test_526.test
2025-10-24 19:21:19 -05:00

34 lines
553 B
SQL

# name: test/issues/rigger/test_526.test
# description: Issue 526
# group: [rigger]
statement ok
PRAGMA enable_verification
# Query that uses the CONCAT() function and OR expression crashes
# FIXME: #398
statement ok
CREATE TABLE t0(c0 REAL);
statement ok
CREATE TABLE t1(c0 INT2);
statement ok
CREATE TABLE t2(c0 INT);
statement ok
INSERT INTO t0 VALUES (-1);
statement ok
INSERT INTO t1 VALUES (0);
statement ok
INSERT INTO t2 VALUES (0), (0);
query IIR
SELECT * FROM t1, t2, t0 WHERE CONCAT(t1.c0) OR t0.c0;
----
0 0 -1.000000
0 0 -1.000000