mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-19 16:20:50 +00:00
Fix test_parallel_replicas_over_distributed
This commit is contained in:
parent
23ca8608ba
commit
d6dec38103
@ -493,7 +493,8 @@ void executeQueryWithParallelReplicas(
|
|||||||
new_cluster->getShardsInfo().begin()->getAllNodeCount(), settings.parallel_replicas_mark_segment_size);
|
new_cluster->getShardsInfo().begin()->getAllNodeCount(), settings.parallel_replicas_mark_segment_size);
|
||||||
auto external_tables = new_context->getExternalTables();
|
auto external_tables = new_context->getExternalTables();
|
||||||
|
|
||||||
if (settings.allow_experimental_analyzer)
|
/// do not build local plan for distributed queries for now (address it later)
|
||||||
|
if (settings.allow_experimental_analyzer && !shard_num)
|
||||||
{
|
{
|
||||||
auto read_from_remote = std::make_unique<ReadFromParallelRemoteReplicasStep>(
|
auto read_from_remote = std::make_unique<ReadFromParallelRemoteReplicasStep>(
|
||||||
query_ast,
|
query_ast,
|
||||||
|
Loading…
Reference in New Issue
Block a user