Unification of data types, that is serialized with multiple streams [#CLICKHOUSE-2838].

This commit is contained in:
Alexey Milovidov 2017-08-07 10:44:27 +03:00
parent fb2aff4704
commit 45ea2fba47

View File

@ -61,7 +61,7 @@ void NativeBlockOutputStream::writeData(const IDataType & type, const ColumnPtr
full_column = column;
IDataType::OutputStreamGetter output_stream_getter = [&] (const IDataType::SubstreamPath & path) { return &ostr; };
type.serializeBinaryBulkWithMultipleStreams(*column, output_stream_getter, offset, limit, false, {});
type.serializeBinaryBulkWithMultipleStreams(*full_column, output_stream_getter, offset, limit, false, {});
}