diff --git a/src/Storages/MergeTree/IMergeTreeDataPart.cpp b/src/Storages/MergeTree/IMergeTreeDataPart.cpp index 55aea13c6398..9bc72577b25f 100644 --- a/src/Storages/MergeTree/IMergeTreeDataPart.cpp +++ b/src/Storages/MergeTree/IMergeTreeDataPart.cpp @@ -381,11 +381,6 @@ void IMergeTreeDataPart::setState(MergeTreeDataPartState new_state) const incrementStateMetric(state); } -MergeTreeDataPartState IMergeTreeDataPart::getState() const -{ - return state; -} - std::pair IMergeTreeDataPart::getMinMaxDate() const { diff --git a/src/Storages/MergeTree/IMergeTreeDataPart.h b/src/Storages/MergeTree/IMergeTreeDataPart.h index 58b955e43922..a9659d2f5f4d 100644 --- a/src/Storages/MergeTree/IMergeTreeDataPart.h +++ b/src/Storages/MergeTree/IMergeTreeDataPart.h @@ -210,6 +210,8 @@ class IMergeTreeDataPart : public std::enable_shared_from_this