mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
dbms: Cleanup [#METR-19266]
This commit is contained in:
parent
989b3d87fd
commit
efe8a6f7da
@ -54,7 +54,7 @@ void NativeBlockInputStream::readData(const IDataType & type, IColumn & column,
|
||||
ColumnNullable & nullable_col = static_cast<ColumnNullable &>(column);
|
||||
IColumn & nested_col = *(nullable_col.getNestedColumn().get());
|
||||
|
||||
ColumnUInt8 & null_map = static_cast<ColumnUInt8 &>(*(nullable_col.getNullValuesByteMap().get()));
|
||||
IColumn & null_map = *(nullable_col.getNullValuesByteMap().get());
|
||||
DataTypeUInt8{}.deserializeBinary(null_map, istr, rows, 0);
|
||||
|
||||
readData(nested_type, nested_col, istr, rows);
|
||||
|
@ -55,8 +55,8 @@ void NativeBlockOutputStream::writeData(const IDataType & type, const ColumnPtr
|
||||
const ColumnNullable & nullable_col = static_cast<const ColumnNullable &>(*full_column.get());
|
||||
const ColumnPtr & nested_col = nullable_col.getNestedColumn();
|
||||
|
||||
const ColumnUInt8 & content = static_cast<const ColumnUInt8 &>(*(nullable_col.getNullValuesByteMap().get()));
|
||||
DataTypeUInt8{}.serializeBinary(content, ostr, offset, limit);
|
||||
const IColumn & null_map = *(nullable_col.getNullValuesByteMap().get());
|
||||
DataTypeUInt8{}.serializeBinary(null_map, ostr, offset, limit);
|
||||
|
||||
writeData(nested_type, nested_col, ostr, offset, limit);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user