Add a test for #9246

This commit is contained in:
Alexey Milovidov 2020-11-02 15:16:35 +03:00
parent 8a68ee2547
commit eea28e5ca4
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
DROP TABLE IF EXISTS f;
DROP TABLE IF EXISTS v;
create table f(s String) engine File(TSV, '/dev/null');
create view v as (select * from f);
select * from v; -- was failing long time ago
select * from merge('', 'f'); -- was failing long time ago
DROP TABLE f;
DROP TABLE v;