Better semantic of sharing columns: development [#CLICKHOUSE-2].

This commit is contained in:
Alexey Milovidov 2017-12-18 09:23:19 +03:00
parent 27301ac380
commit 32fcc7b3f0
2 changed files with 2 additions and 1 deletions

View File

@ -424,6 +424,8 @@ Block MergeTreeBaseBlockInputStream::readFromPart()
task->size_predictor->update(res);
reader->fillMissingColumns(res, task->ordered_names, true);
res.checkNumberOfRows();
}
}
while (!task->isFinished() && !res && !isCancelled());

View File

@ -156,7 +156,6 @@ size_t MergeTreeReader::readRows(size_t from_mark, bool continue_reading, size_t
throw;
}
res.checkNumberOfRows();
return read_rows;
}