ClickHouse/tests/queries/0_stateless/01104_distributed_numbers_test.sql
Nikolai Kochetov fb38c2a30b
Remove experimental_use_processors setting, part 1. (#10924)
Remove experimental_use_processors setting, part 1.
2020-05-15 22:28:10 +03:00

11 lines
355 B
SQL

DROP TABLE IF EXISTS d_numbers;
CREATE TABLE d_numbers (number UInt32) ENGINE = Distributed(test_cluster_two_shards, system, numbers, rand());
SELECT '100' AS number FROM d_numbers AS n WHERE n.number = 100 LIMIT 2;
SET distributed_product_mode = 'local';
SELECT '100' AS number FROM d_numbers AS n WHERE n.number = 100 LIMIT 2;
DROP TABLE d_numbers;