mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
Added another test case
This commit is contained in:
parent
457b75a196
commit
0fc4776424
@ -1,2 +1,4 @@
|
|||||||
0
|
0
|
||||||
|
1
|
||||||
0
|
0
|
||||||
|
1
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user