fix clang-tidy

This commit is contained in:
Anton Popov 2021-09-09 12:40:26 +03:00
parent 9816014f6c
commit 2ccdb6c22d

View File

@ -138,8 +138,8 @@ void IMergeTreeReader::fillMissingColumns(Columns & res_columns, bool & should_e
const auto * array_type = typeid_cast<const DataTypeArray *>(type.get());
if (offset_it != offset_columns.end() && array_type)
{
const auto & nested_type = array_type->getNestedType();
ColumnPtr offsets_column = offset_it->second;
DataTypePtr nested_type = array_type->getNestedType();
size_t nested_rows = typeid_cast<const ColumnUInt64 &>(*offsets_column).getData().back();
ColumnPtr nested_column =