ClickHouse/tests/queries/0_stateless/00162_shard_global_join.sql

4 lines
228 B
MySQL
Raw Normal View History

2021-09-12 12:35:27 +00:00
-- Tags: shard
SELECT toFloat64(dummy + 2) AS n, j1, j2 FROM remote('127.0.0.{2,3}', system.one) jr1 GLOBAL ANY LEFT JOIN (SELECT number / 3 AS n, number AS j1, 'Hello' AS j2 FROM system.numbers LIMIT 10) jr2 USING n LIMIT 10;