Add a test for #17756 (#47739)

This commit is contained in:
Alexey Milovidov 2023-03-23 17:48:06 +03:00 committed by GitHub
parent 2b439f079e
commit 50e1eedd47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1,3 @@
create temporary table temp_table3(val0 UInt64) ENGINE=Memory();
select * from (select 1 as id) t1 inner join (select 1 as id) t2 on t1.id=t2.id inner join (select 1 as id) t3 on t1.id=t3.id where t1.id in temp_table3;
select * from (select 1 as id) t1 inner join (select 1 as id) t2 on t1.id=t2.id where t1.id in temp_table3;