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

20 lines
384 B
SQL

# name: test/issues/rigger/test_516.test
# description: Issue 516
# group: [rigger]
statement ok
PRAGMA enable_verification
# Query with comparison on boolean column results in 'Invalid type: Invalid Type [BOOL]: Invalid type for
# index'
statement ok
CREATE TABLE t0(c0 BOOL UNIQUE);
statement ok
INSERT INTO t0(c0) VALUES (0);
query T
SELECT * FROM t0 WHERE t0.c0 = true;
----