Renamed methods for bulk binary serialization (continued) [#METR-2944].

This commit is contained in:
Alexey Milovidov 2017-01-03 02:31:26 +03:00
parent 1f3aeb066a
commit 9dc44c1a3a
2 changed files with 2 additions and 4 deletions

View File

@ -511,7 +511,7 @@ void LogBlockOutputStream::writeData(const String & name, const IDataType & type
out_marks.push_back(std::make_pair(storage.files[size_name].column_index, mark));
type_arr->serializeOffsets(column, streams[size_name]->compressed);
type_arr->serializeOffsets(column, streams[size_name]->compressed, 0, 0);
streams[size_name]->compressed.next();
}

View File

@ -386,9 +386,7 @@ void TinyLogBlockOutputStream::writeData(const String & name, const IDataType &
if (offset_columns.count(size_name) == 0)
{
offset_columns.insert(size_name);
type_arr->serializeOffsets(
column,
streams[size_name]->compressed);
type_arr->serializeOffsets(column, streams[size_name]->compressed, 0, 0);
}
writeData(name, *type_arr->getNestedType(), typeid_cast<const ColumnArray &>(column).getData(), offset_columns, level + 1);