ClickHouse/tests/queries/0_stateless/2021_exponential_sum_shard.sql

7 lines
814 B
MySQL
Raw Normal View History

-- Check that it is deterministic
WITH number % 10 = 0 AS value, number AS time SELECT exponentialMovingSum(1)(value, time) AS exp_smooth FROM remote('127.0.0.{1..10}', numbers_mt(1000));
WITH number % 10 = 0 AS value, number AS time SELECT exponentialMovingSum(1)(value, time) AS exp_smooth FROM remote('127.0.0.{1..10}', numbers_mt(10000));
WITH number % 10 = 0 AS value, number AS time SELECT exponentialMovingSum(1)(value, time) AS exp_smooth FROM remote('127.0.0.{1..10}', numbers_mt(100000));
WITH number % 10 = 0 AS value, number AS time SELECT exponentialMovingSum(1)(value, time) AS exp_smooth FROM remote('127.0.0.{1..10}', numbers_mt(1000000));
WITH number % 10 = 0 AS value, number AS time SELECT exponentialMovingSum(1)(value, time) AS exp_smooth FROM remote('127.0.0.{1..10}', numbers_mt(10000000));