-
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.
Add test for false table reference negative (#99)
- Loading branch information
1 parent
bc2b663
commit 92e0c21
Showing
2 changed files
with
13 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{:tables [{:table "a"}, {:table "b"}] | ||
:source-columns #{{:table "b" :column "x"} | ||
{:table "a" :column "y"}} | ||
|
||
;; See https://github.com/metabase/metabase/issues/42586 | ||
:overrides | ||
;; TODO currently each table gets hidden by the other CTE | ||
{:tables [] | ||
:source-columns []}} |
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,4 @@ | ||
WITH c AS (SELECT x FROM b), | ||
b AS (SELECT y FROM a), | ||
a AS (SELECT x FROM c) | ||
SELECT a.x, b.y FROM a, b |