mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-18 04:12:19 +00:00
one more test fix
This commit is contained in:
parent
e349769524
commit
1127232446
@ -29,8 +29,6 @@ remote(Distributed)
|
|||||||
JOIN system.clusters
|
JOIN system.clusters
|
||||||
1 10 localhost ::1 9000
|
1 10 localhost ::1 9000
|
||||||
1 20 localhost ::1 9000
|
1 20 localhost ::1 9000
|
||||||
1 10 localhost ::1 9000
|
|
||||||
1 20 localhost ::1 9000
|
|
||||||
dist_3
|
dist_3
|
||||||
100 foo
|
100 foo
|
||||||
foo 100 foo
|
foo 100 foo
|
||||||
|
@ -48,11 +48,12 @@ FROM (SELECT *, _shard_num FROM dist_1) a
|
|||||||
JOIN system.clusters b
|
JOIN system.clusters b
|
||||||
ON a._shard_num = b.shard_num
|
ON a._shard_num = b.shard_num
|
||||||
WHERE b.cluster = 'test_cluster_two_shards_localhost';
|
WHERE b.cluster = 'test_cluster_two_shards_localhost';
|
||||||
|
|
||||||
SELECT _shard_num, key, b.host_name, b.host_address, b.port
|
SELECT _shard_num, key, b.host_name, b.host_address, b.port
|
||||||
FROM dist_1 a
|
FROM dist_1 a
|
||||||
JOIN system.clusters b
|
JOIN system.clusters b
|
||||||
ON _shard_num = b.shard_num
|
ON _shard_num = b.shard_num
|
||||||
WHERE b.cluster = 'test_cluster_two_shards_localhost';
|
WHERE b.cluster = 'test_cluster_two_shards_localhost'; -- { serverError 403 }
|
||||||
|
|
||||||
-- rewrite does not work with aliases, hence Missing columns (47)
|
-- rewrite does not work with aliases, hence Missing columns (47)
|
||||||
SELECT a._shard_num, key FROM dist_1 a; -- { serverError 47; }
|
SELECT a._shard_num, key FROM dist_1 a; -- { serverError 47; }
|
||||||
|
Loading…
Reference in New Issue
Block a user