Merge pull request #41068 from jthmath/bugfix

fix ignore projection logic error
This commit is contained in:
Nikolay Degterinsky 2022-09-09 17:10:03 +02:00 committed by GitHub
commit 12e7cd6b19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1302,7 +1302,7 @@ private:
*ctx->source_part->data_part_storage, it->name(), destination);
hardlinked_files.insert(it->name());
}
else if (!endsWith(".tmp_proj", it->name())) // ignore projection tmp merge dir
else if (!endsWith(it->name(), ".tmp_proj")) // ignore projection tmp merge dir
{
// it's a projection part directory
ctx->data_part_storage_builder->createProjection(destination);