-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7bee61f
commit 415b3f3
Showing
2 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
12 changes: 12 additions & 0 deletions
12
tests/queries/0_stateless/03114_analyzer_cte_with_join.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,12 @@ | ||
-- https://github.com/ClickHouse/ClickHouse/issues/58500 | ||
|
||
drop table if exists t; | ||
|
||
create table t (ID UInt8) Engine= Memory() ; | ||
insert into t values(1),(2),(3); | ||
|
||
with a as (select 1 as column_a) , b as (select 2 as column_b) | ||
select * FROM remote('127.0.0.{1,2}', default, t) as c | ||
inner join a on ID=column_a inner join b on ID=column_b; | ||
|
||
drop table if exists t; |