mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
IMergedBlockOutputStream: Add LOGICAL_ERROR if there is no such stream
This commit is contained in:
parent
3205165e5e
commit
719f2a240b
@ -170,6 +170,9 @@ void IMergedBlockOutputStream::writeSingleMark(
|
||||
if (is_offsets && offset_columns.count(stream_name))
|
||||
return;
|
||||
|
||||
if (!column_streams.count(stream_name))
|
||||
throw Exception("Incorrect stream " + stream_name, ErrorCodes::LOGICAL_ERROR);
|
||||
|
||||
ColumnStream & stream = *column_streams[stream_name];
|
||||
|
||||
/// There could already be enough data to compress into the new block.
|
||||
|
Loading…
Reference in New Issue
Block a user