mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-11 17:02:25 +00:00
7e17290acd
P.S. that code looks redundant, and I'm not even sure that it was
required when it was first added in
325cc47ca5
.
16 lines
763 B
SQL
16 lines
763 B
SQL
-- regression test for the following query:
|
|
--
|
|
-- select * from remote('127.1', system.one, dummy)
|
|
--
|
|
-- that produce the following error before:
|
|
--
|
|
-- Unknown column: dummy, there are only columns .
|
|
--
|
|
-- NOTE: that wrapping column into any function works before.
|
|
select * from remote('127.1', system.one, dummy) format Null;
|
|
select * from remote('127.1', system.one, identity(dummy)) format Null;
|
|
select * from remote('127.1', view(select * from system.one), identity(dummy)) format Null;
|
|
select * from remote('127.{1,2}', view(select * from system.one), identity(dummy)) format Null;
|
|
select * from remote('127.1', view(select * from system.one), dummy) format Null;
|
|
select * from remote('127.{1,2}', view(select * from system.one), dummy) format Null;
|