mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
try fix
This commit is contained in:
parent
1c682f1316
commit
a82ab36c08
@ -218,7 +218,6 @@ ReadBufferIterator::Data ReadBufferIterator::next()
|
||||
}
|
||||
|
||||
const auto filename = current_object_info->getFileName();
|
||||
chassert(!filename.empty());
|
||||
|
||||
/// file iterator could get new keys after new iteration
|
||||
if (read_keys.size() > prev_read_keys_size)
|
||||
|
@ -305,7 +305,7 @@ StorageObjectStorageSource::ReaderHolder StorageObjectStorageSource::createReade
|
||||
{
|
||||
object_info = file_iterator->next(processor);
|
||||
|
||||
if (!object_info)
|
||||
if (!object_info || object_info->getPath().empty())
|
||||
return {};
|
||||
|
||||
if (!object_info->metadata)
|
||||
|
Loading…
Reference in New Issue
Block a user