renamed IDataType::updateAvgValueSizeHints to IDataType::updateAvgValueSizeHint

This commit is contained in:
Nikolai Kochetov 2017-07-13 21:54:17 +03:00
parent 5d1f4355a1
commit 210f14aaba
3 changed files with 3 additions and 3 deletions

View File

@ -187,7 +187,7 @@ void NativeBlockInputStream::updateAvgValueSizeHints(const Block & block)
for (auto idx : ext::range(0, block.columns()))
{
auto & avg_value_size_hint = avg_value_size_hints[idx];
IDataType::updateAvgValueSizeHints(*block.getByPosition(idx).column, avg_value_size_hint);
IDataType::updateAvgValueSizeHint(*block.getByPosition(idx).column, avg_value_size_hint);
}
}

View File

@ -156,7 +156,7 @@ public:
virtual ~IDataType() {}
/// Updates avg_value_size_hint for newly read column. Uses to optimize deserialization. Zero expected for first column.
static void updateAvgValueSizeHints(const IColumn & column, double & avg_value_size_hint);
static void updateAvgValueSizeHint(const IColumn & column, double & avg_value_size_hint);
};

View File

@ -513,7 +513,7 @@ void MergeTreeReader::readData(
stream.seekToMark(from_mark);
type.deserializeBinaryBulk(column, *stream.data_buffer, max_rows_to_read, avg_value_size_hint);
IDataType::updateAvgValueSizeHints(column, avg_value_size_hint);
IDataType::updateAvgValueSizeHint(column, avg_value_size_hint);
}
}