Fix build

This commit is contained in:
Alexander Gololobov 2024-09-05 13:50:26 +02:00 committed by GitHub
parent e1b2952a60
commit 20eaecc4f3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1585,8 +1585,8 @@ void MergeTask::ExecuteAndFinalizeHorizontalPart::createMergedStream() const
std::vector<QueryPlanPtr> plans;
for (size_t i = 0; i < global_ctx->future_part->parts.size(); ++i)
{
if (part->getMarksCount() == 0)
LOG_TRACE(ctx->log, "Part {} is empty", part->name);
if (global_ctx->future_part->parts[i]->getMarksCount() == 0)
LOG_TRACE(ctx->log, "Part {} is empty", global_ctx->future_part->parts[i]->name);
auto plan_for_part = std::make_unique<QueryPlan>();
createReadFromPartStep(