-
Notifications
You must be signed in to change notification settings - Fork 600
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(frontend): e2e explain join and add test (#877)
* feat(frontend): e2e explain join and add test Signed-off-by: TennyZhuang <[email protected]> * rest Signed-off-by: TennyZhuang <[email protected]> * better format Signed-off-by: TennyZhuang <[email protected]> * fix clippy Signed-off-by: TennyZhuang <[email protected]>
- Loading branch information
1 parent
f342dcb
commit d6d3d81
Showing
5 changed files
with
68 additions
and
3 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,19 @@ | ||
statement ok | ||
create table t1 (v1 int not null, v2 int not null); | ||
|
||
statement ok | ||
create table t2 (v1 int not null, v2 int not null); | ||
|
||
query T | ||
explain select t1.v2, t2.v2 from t1 join t2 on t1.v1 = t2.v1; | ||
---- | ||
BatchProject { exprs: [$1, $3], expr_alias: [None, None] } | ||
BatchHashJoin(predicate: $1 = $3) | ||
BatchScan { table: "t1", columns: ["v1", "v2"] } | ||
BatchScan { table: "t1", columns: ["v1", "v2"] } | ||
|
||
statement ok | ||
drop table t1; | ||
|
||
statement ok | ||
drop table t2; |
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
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