2024-04-12 12:53:07 +00:00
|
|
|
-- Tags: no-replicated-database
|
2024-04-10 15:46:17 +00:00
|
|
|
-- https://github.com/ClickHouse/ClickHouse/issues/58500
|
|
|
|
|
2024-04-12 12:53:07 +00:00
|
|
|
SET allow_experimental_analyzer=1;
|
|
|
|
|
2024-04-10 15:46:17 +00:00
|
|
|
drop table if exists t;
|
|
|
|
|
|
|
|
create table t (ID UInt8) Engine= Memory() ;
|
|
|
|
insert into t values(1),(2),(3);
|
2024-04-12 12:53:07 +00:00
|
|
|
|
|
|
|
with a as (select 1 as column_a) , b as (select 2 as column_b)
|
2024-04-10 19:22:35 +00:00
|
|
|
select * FROM remote('127.0.0.{1,2}', currentDatabase(), t) as c
|
2024-04-10 15:46:17 +00:00
|
|
|
inner join a on ID=column_a inner join b on ID=column_b;
|
|
|
|
|
2024-04-12 12:53:07 +00:00
|
|
|
drop table if exists t;
|