ClickHouse/tests/queries/1_stateful/00147_global_in_aggregate_function.sql
2024-07-24 04:32:20 +02:00

6 lines
279 B
SQL

-- Tags: global
SET max_rows_to_read = 40_000_000;
SELECT sum(UserID GLOBAL IN (SELECT UserID FROM remote('127.0.0.{1,2}', test.hits))) FROM remote('127.0.0.{1,2}', test.hits);
SELECT sum(UserID GLOBAL IN (SELECT UserID FROM test.hits)) FROM remote('127.0.0.{1,2}', test.hits);