should be it
This commit is contained in:
23
external/duckdb/test/issues/rigger/test_581.test
vendored
Normal file
23
external/duckdb/test/issues/rigger/test_581.test
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
# name: test/issues/rigger/test_581.test
|
||||
# description: Issue 581
|
||||
# group: [rigger]
|
||||
|
||||
statement ok
|
||||
SET default_null_order='nulls_first';
|
||||
|
||||
statement ok
|
||||
PRAGMA enable_verification
|
||||
|
||||
# DISTINCT malfunctions for BOOLEAN
|
||||
statement ok
|
||||
CREATE TABLE t0(c0 BOOLEAN);
|
||||
|
||||
statement ok
|
||||
INSERT INTO t0 VALUES (NULL), (false);
|
||||
|
||||
query T
|
||||
SELECT DISTINCT t0.c0 FROM t0 ORDER BY 1;
|
||||
----
|
||||
NULL
|
||||
0
|
||||
|
||||
Reference in New Issue
Block a user