mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Update src/Storages/StorageDistributed.cpp
Co-authored-by: Azat Khuzhin <a3at.mail@gmail.com>
This commit is contained in:
parent
e9f8dd645e
commit
5881270f90
@ -526,10 +526,6 @@ void StorageDistributed::read(
|
||||
const size_t /*max_block_size*/,
|
||||
const unsigned /*num_streams*/)
|
||||
{
|
||||
// Return directly if no shard to query.
|
||||
if (query_info.cluster->getShardsInfo().empty())
|
||||
return;
|
||||
|
||||
const auto & modified_query_ast = rewriteSelectQuery(
|
||||
query_info.query, remote_database, remote_table, remote_table_function_ptr);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user