should be it
This commit is contained in:
15
external/duckdb/test/optimizer/pushdown/issue_16863.test
vendored
Normal file
15
external/duckdb/test/optimizer/pushdown/issue_16863.test
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
# name: test/optimizer/pushdown/issue_16863.test
|
||||
# description: Test right join filter lost in filter pushdown
|
||||
# group: [pushdown]
|
||||
|
||||
statement ok
|
||||
CREATE TABLE t1 (c1 DATE);
|
||||
|
||||
statement ok
|
||||
INSERT INTO t1 (c1) VALUES ('2023-10-31');
|
||||
|
||||
query II
|
||||
SELECT t1.c1, (t1.c1 IS NULL)
|
||||
FROM t1 RIGHT JOIN (SELECT NULL AS col0 FROM t1) AS sub0 ON true
|
||||
WHERE (t1.c1 IS NULL);
|
||||
----
|
||||
Reference in New Issue
Block a user