Skip to content

Commit

Permalink
Close: #58500
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitamikhaylov committed Apr 10, 2024
1 parent 7bee61f commit 415b3f3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Empty file.
12 changes: 12 additions & 0 deletions tests/queries/0_stateless/03114_analyzer_cte_with_join.sql
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;

0 comments on commit 415b3f3

Please sign in to comment.