2023-06-13 14:43:35 +00:00
|
|
|
-- Tags: distributed
|
2021-09-12 12:35:27 +00:00
|
|
|
|
2024-07-24 02:32:20 +00:00
|
|
|
SET max_rows_to_read = 100_000_000;
|
2018-08-07 17:08:51 +00:00
|
|
|
SELECT sum(cityHash64(*)) FROM (SELECT CounterID, quantileTiming(0.5)(SendTiming), count() FROM remote('127.0.0.{1,2,3,4,5,6,7,8,9,10}', test.hits) WHERE SendTiming != -1 GROUP BY CounterID);
|
2020-06-05 17:03:36 +00:00
|
|
|
SELECT sum(cityHash64(*)) FROM (SELECT CounterID, quantileTiming(0.5)(SendTiming), count() FROM remote('127.0.0.{1,2,3,4,5,6,7,8,9,10}', test.hits) WHERE SendTiming != -1 GROUP BY CounterID) SETTINGS optimize_aggregation_in_order = 1;
|