mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
rename API
This commit is contained in:
parent
93e92dab3b
commit
7f41173a1f
@ -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();
|
||||
}
|
||||
|
@ -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;
|
||||
|
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user