forked from ibis-project/ibis
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[sql 169/208] test(joins): add test for ibis-project#7288.
- Loading branch information
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
ibis/backends/tests/snapshots/test_join/test_complex_join_agg/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,17 @@ | ||
SELECT | ||
t3.key1 AS key1, | ||
AVG(t3.value1 - t3.value2) AS avg_diff | ||
FROM ( | ||
SELECT | ||
t0.value1 AS value1, | ||
t0.key1 AS key1, | ||
t0.key2 AS key2, | ||
t1.value2 AS value2, | ||
t1.key1 AS key1_right, | ||
t1.key4 AS key4 | ||
FROM table1 AS t0 | ||
LEFT OUTER JOIN table2 AS t1 | ||
ON t0.key1 = t1.key1 | ||
) AS t3 | ||
GROUP BY | ||
1 |
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