This commit is contained in:
yariks5s 2024-05-23 11:59:31 +00:00
parent 319542f85b
commit 2db07e64e3

View File

@ -35,7 +35,10 @@ IProcessor::Status PlanSquashingTransform::prepare()
break; /// never reached
}
}
if (status == Status::Ready)
status = finish();
else
throw Exception(ErrorCodes::LOGICAL_ERROR, "There should be a Ready status to finish the PlanSquashing");
return status;
}