Consistency

This commit is contained in:
Alexey Milovidov 2021-01-02 00:26:41 +03:00
parent 4b3ae495d6
commit 89595e184f
2 changed files with 3 additions and 3 deletions

View File

@ -85,8 +85,8 @@ public:
const ColumnArray & getNestedColumn() const { return assert_cast<const ColumnArray &>(*nested); }
ColumnArray & getNestedColumn() { return assert_cast<ColumnArray &>(*nested); }
const ColumnPtr & getNestedPtr() const { return nested; }
ColumnPtr & getNestedPtr() { return nested; }
const ColumnPtr & getNestedColumnPtr() const { return nested; }
ColumnPtr & getNestedColumnPtr() { return nested; }
const ColumnTuple & getNestedData() const { return assert_cast<const ColumnTuple &>(getNestedColumn().getData()); }
ColumnTuple & getNestedData() { return assert_cast<ColumnTuple &>(getNestedColumn().getData()); }

View File

@ -323,7 +323,7 @@ void DataTypeMap::deserializeBinaryBulkWithMultipleStreamsImpl(
SubstreamsCache * cache) const
{
auto & column_map = assert_cast<ColumnMap &>(column);
nested->deserializeBinaryBulkWithMultipleStreams(column_map.getNestedPtr(), limit, settings, state, cache);
nested->deserializeBinaryBulkWithMultipleStreams(column_map.getNestedColumnPtr(), limit, settings, state, cache);
}
void DataTypeMap::serializeProtobuf(const IColumn & column, size_t row_num, ProtobufWriter & protobuf, size_t & value_index) const