diff --git a/tests/queries/0_stateless/01813_distributed_scalar_subqueries_alias.reference b/tests/queries/0_stateless/01813_distributed_scalar_subqueries_alias.reference index aa47d0d46d4..5565ed6787f 100644 --- a/tests/queries/0_stateless/01813_distributed_scalar_subqueries_alias.reference +++ b/tests/queries/0_stateless/01813_distributed_scalar_subqueries_alias.reference @@ -1,2 +1,4 @@ 0 +1 0 +1 diff --git a/tests/queries/0_stateless/01813_distributed_scalar_subqueries_alias.sql b/tests/queries/0_stateless/01813_distributed_scalar_subqueries_alias.sql index 30d1501effe..d2d90e7ab1d 100644 --- a/tests/queries/0_stateless/01813_distributed_scalar_subqueries_alias.sql +++ b/tests/queries/0_stateless/01813_distributed_scalar_subqueries_alias.sql @@ -8,9 +8,11 @@ INSERT INTO data VALUES (0, 0); SET prefer_localhost_replica = 1; SELECT a / (SELECT sum(number) FROM numbers(10)) FROM data_distributed; +SELECT a < (SELECT 1) FROM data_distributed; SET prefer_localhost_replica = 0; SELECT a / (SELECT sum(number) FROM numbers(10)) FROM data_distributed; +SELECT a < (SELECT 1) FROM data_distributed; DROP TABLE data_distributed; DROP TABLE data;