-
Notifications
You must be signed in to change notification settings - Fork 608
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add snapshot test for exists subquery
- Loading branch information
Showing
2 changed files
with
21 additions
and
7 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
ibis/backends/tests/sql/snapshots/test_select_sql/test_exists_subquery/out.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
SELECT | ||
t0.key1 AS key1, | ||
t0.key2 AS key2, | ||
t0.value1 AS value1 | ||
FROM t1 AS t0 | ||
WHERE | ||
EXISTS( | ||
( | ||
SELECT | ||
CAST(1 AS TINYINT) AS "1" | ||
FROM t2 AS t1 | ||
WHERE | ||
t0.key1 = t1.key1 | ||
) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters