Skip to content

Commit

Permalink
test: update test
Browse files Browse the repository at this point in the history
  • Loading branch information
CookiePieWw committed Nov 18, 2024
1 parent d34e9d6 commit 386b2cb
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
1 change: 0 additions & 1 deletion tests/cases/standalone/common/subquery/table.result
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
-- From https://github.com/duckdb/duckdb/tree/main/test/sql/subquery/table
-- aliasing
CREATE TABLE a(ts TIMESTAMP TIME INDEX, i INTEGER);

Expand Down
2 changes: 0 additions & 2 deletions tests/cases/standalone/common/subquery/table.sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
-- From https://github.com/duckdb/duckdb/tree/main/test/sql/subquery/table

-- aliasing
CREATE TABLE a(ts TIMESTAMP TIME INDEX, i INTEGER);

Expand Down
13 changes: 13 additions & 0 deletions tests/cases/standalone/common/subquery/test_neumann.result
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,16 @@ SELECT s.n, e.course, e.grade FROM students s, exams e WHERE s.id=e.sid AND e.gr
| Dirk | Graphics | 7 |
| Mark | Database Systems | 10 |
+------+------------------+-------+

SELECT n, major FROM students s WHERE EXISTS(SELECT * FROM exams e WHERE e.sid=s.id AND grade=10) OR s.n='Dirk' ORDER BY n;

Error: 3001(EngineExecuteQuery), DataFusion error: This feature is not implemented: Physical plan does not support logical expression Exists(Exists { subquery: <subquery>, negated: false })

DROP TABLE students;

Affected Rows: 0

DROP TABLE exams;

Affected Rows: 0

2 changes: 2 additions & 0 deletions tests/cases/standalone/common/subquery/test_neumann.sql
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ SELECT s.n, e.course, e.grade FROM students s, exams e WHERE s.id=e.sid AND e.gr
SELECT n, major FROM students s WHERE EXISTS(SELECT * FROM exams e WHERE e.sid=s.id AND grade=10) OR s.n='Dirk' ORDER BY n;

DROP TABLE students;

DROP TABLE exams;

0 comments on commit 386b2cb

Please sign in to comment.