mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +00:00
Analyzer distributed read fix
This commit is contained in:
parent
3a624e6bef
commit
a090a8449d
@ -679,10 +679,9 @@ void StorageDistributed::read(
|
||||
}
|
||||
|
||||
const auto & modified_query_ast = ClusterProxy::rewriteSelectQuery(
|
||||
local_context, query_info.query,
|
||||
local_context, query_ast,
|
||||
remote_database, remote_table, remote_table_function_ptr);
|
||||
|
||||
|
||||
/// Return directly (with correct header) if no shard to query.
|
||||
if (query_info.getCluster()->getShardsInfo().empty())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user