Added another test case

This commit is contained in:
Maksim Kita 2021-04-20 13:32:52 +03:00
parent 457b75a196
commit 0fc4776424
2 changed files with 4 additions and 0 deletions

View File

@ -8,9 +8,11 @@ INSERT INTO data VALUES (0, 0);
SET prefer_localhost_replica = 1; SET prefer_localhost_replica = 1;
SELECT a / (SELECT sum(number) FROM numbers(10)) FROM data_distributed; SELECT a / (SELECT sum(number) FROM numbers(10)) FROM data_distributed;
SELECT a < (SELECT 1) FROM data_distributed;
SET prefer_localhost_replica = 0; SET prefer_localhost_replica = 0;
SELECT a / (SELECT sum(number) FROM numbers(10)) FROM data_distributed; 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_distributed;
DROP TABLE data; DROP TABLE data;