-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Track another issue with compound queries (#85)
* Surprising fail * Fix query
- Loading branch information
1 parent
1c4ea0b
commit 1ee2fe2
Showing
3 changed files
with
18 additions
and
2 deletions.
There are no files selected for viewing
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
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,8 @@ | ||
{:tables [{:table "t1"} {:table "t2"}] | ||
:source-columns [{:table "t1", :column "x"} | ||
{:table "t2", :column "y"}] | ||
|
||
:overrides | ||
;; Missing x completely! | ||
;; See https://github.com/metabase/metabase/issues/42586 | ||
{:source-columns [{:column "y"}]}} |
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 @@ | ||
WITH cte AS (SELECT x FROM t1) SELECT cte.x, y FROM t2 JOIN cte; |