mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 21:42:39 +00:00
One line fix for the specific query
This commit is contained in:
parent
c681405fb3
commit
6a0a0ff30d
@ -240,7 +240,7 @@ void ReadFromRemote::addPipe(Pipes & pipes, const ClusterProxy::SelectStreamFact
|
|||||||
shard.shard_info.pool, query_string, output_stream->header, context, throttler, scalars, external_tables, stage);
|
shard.shard_info.pool, query_string, output_stream->header, context, throttler, scalars, external_tables, stage);
|
||||||
|
|
||||||
remote_query_executor->setLogger(log);
|
remote_query_executor->setLogger(log);
|
||||||
remote_query_executor->setPoolMode(PoolMode::GET_MANY);
|
remote_query_executor->setPoolMode(PoolMode::GET_ONE);
|
||||||
|
|
||||||
if (!table_func_ptr)
|
if (!table_func_ptr)
|
||||||
remote_query_executor->setMainTable(shard.main_table ? shard.main_table : main_table);
|
remote_query_executor->setMainTable(shard.main_table ? shard.main_table : main_table);
|
||||||
|
Loading…
Reference in New Issue
Block a user