mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Throw an error in CreatingSetsOnTheFlyTransform in case of input for finished
This commit is contained in:
parent
b0e2616aa9
commit
24f62e8486
@ -81,11 +81,7 @@ IProcessor::Status CreatingSetsOnTheFlyTransform::prepare()
|
||||
else
|
||||
{
|
||||
/// Should not happen because processor inserted before join that reads all the data
|
||||
/// But let's handle this case just for safety.
|
||||
set->state = SetWithState::State::Suspended;
|
||||
LOG_DEBUG(log, "{}: Processor finished, but not all input was read, cancelling building set after using {}",
|
||||
getDescription(), formatBytesHumanReadable(set->getTotalByteCount()));
|
||||
set.reset();
|
||||
throw Exception(ErrorCodes::LOGICAL_ERROR, "Processor finished, but not all input was read");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user