This commit is contained in:
Nikita Taranov 2024-11-15 12:12:43 +01:00
parent 1c682f1316
commit a82ab36c08
2 changed files with 1 additions and 2 deletions

View File

@ -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)

View File

@ -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)