Fix PVS check

This commit is contained in:
Pavel Kruglov 2021-09-22 13:13:05 +03:00
parent e9f0137340
commit 9ed82fb44a

View File

@ -139,8 +139,9 @@ void MsgPackRowOutputFormat::serializeField(const IColumn & column, DataTypePtr
{
const auto & map_column = assert_cast<const ColumnMap &>(column);
const auto & nested_column = map_column.getNestedColumn();
const auto & key_column = map_column.getNestedData().getColumns()[0];
const auto & value_column = map_column.getNestedData().getColumns()[1];
const auto & nested_data = map_column.getNestedData();
const auto & key_column = nested_data.getColumns()[0];
const auto & value_column = nested_data.getColumns()[1];
const auto & map_type = assert_cast<const DataTypeMap &>(*data_type);
const auto & offsets = nested_column.getOffsets();