diff --git a/tests/queries/0_stateless/03005_input_function_in_join.reference b/tests/queries/0_stateless/03005_input_function_in_join.reference index e69de29bb2d..0cfbf08886f 100644 --- a/tests/queries/0_stateless/03005_input_function_in_join.reference +++ b/tests/queries/0_stateless/03005_input_function_in_join.reference @@ -0,0 +1 @@ +2 diff --git a/tests/queries/0_stateless/03005_input_function_in_join.sql b/tests/queries/0_stateless/03005_input_function_in_join.sql index 85f275ae11f..8a6b4a48a8d 100644 --- a/tests/queries/0_stateless/03005_input_function_in_join.sql +++ b/tests/queries/0_stateless/03005_input_function_in_join.sql @@ -1,11 +1,14 @@ +drop table if exists test; create table test (a Int8) engine = MergeTree order by tuple(); INSERT INTO test -SELECT * FROM ( +SELECT x.number FROM ( SELECT number FROM system.numbers LIMIT 10 ) AS x INNER JOIN input('a UInt64') AS y ON x.number = y.a -Format CSV 42; -- {serverError INVALID_USAGE_OF_INPUT} +Format CSV 2 +; +select * from test; drop table test;