rename API

This commit is contained in:
attack204 2023-02-10 16:24:10 +08:00
parent 93e92dab3b
commit 7f41173a1f
3 changed files with 3 additions and 3 deletions

View File

@ -5305,7 +5305,7 @@ MergeTreeData::DataPartsVector MergeTreeData::getAllDataPartsVector(MergeTreeDat
return res;
}
size_t MergeTreeData::getAllDataPartsSize() const
size_t MergeTreeData::getAllPartsCount() const
{
return data_parts_by_info.size();
}

View File

@ -476,7 +476,7 @@ public:
DataPartsVector getAllDataPartsVector(DataPartStateVector * out_states = nullptr) const;
/// Return parts number
size_t getAllDataPartsSize() const;
size_t getAllPartsCount() const;
/// Return the number of marks in all parts
size_t getTotalMarksCount() const;

View File

@ -463,7 +463,7 @@ protected:
if (columns_mask[src_index++])
{
if (table_merge_tree)
res_columns[res_index++]->insert(table_merge_tree->getAllDataPartsSize());
res_columns[res_index++]->insert(table_merge_tree->getAllPartsCount());
else
res_columns[res_index++]->insertDefault();
}