Skip to content

Commit d90196f

Browse files
committed
add test
1 parent eb1a79b commit d90196f

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

enginetest/queries/script_queries.go

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13439,6 +13439,20 @@ select * from t1 except (
1343913439
},
1344013440
},
1344113441
},
13442+
{
13443+
// https://github.com/dolthub/dolt/issues/10070
13444+
Name: "NOT EXISTS with nullable filter",
13445+
SetUpScript: []string{
13446+
"CREATE TABLE t0(c0 INT , c1 INT);",
13447+
"INSERT INTO t0(c0, c1) VALUES (1, -2);",
13448+
},
13449+
Assertions: []ScriptTestAssertion{
13450+
{
13451+
Query: `SELECT * FROM t0 WHERE NOT EXISTS (SELECT 1 FROM (SELECT 1) alias0 WHERE (CASE -1 WHEN t0.c1 THEN false END));`,
13452+
Expected: []sql.Row{{1, -2}},
13453+
},
13454+
},
13455+
},
1344213456
}
1344313457

1344413458
var SpatialScriptTests = []ScriptTest{

0 commit comments

Comments
 (0)