mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
renamed IDataType::updateAvgValueSizeHints to IDataType::updateAvgValueSizeHint
This commit is contained in:
parent
5d1f4355a1
commit
210f14aaba
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
};
|
||||
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user