ClickHouse/tests/queries/1_stateful/00147_global_in_aggregate_function.sql
Alexey Milovidov e2c78844a0 Fix tests
2024-07-24 14:53:09 +02:00

6 lines
280 B
SQL

-- Tags: global
SET max_rows_to_read = 100_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);