diff --git a/src/Storages/MergeTree/MergeTreeData.h b/src/Storages/MergeTree/MergeTreeData.h index 007c6898e60..3fe222ba0b2 100644 --- a/src/Storages/MergeTree/MergeTreeData.h +++ b/src/Storages/MergeTree/MergeTreeData.h @@ -21,6 +21,7 @@ #include #include #include +#include #include #include @@ -511,6 +512,13 @@ public: broken_part_callback(name); } + /// TODO (alesap) Duplicate method required for compatibility. + /// Must be removed. + static ASTPtr extractKeyExpressionList(const ASTPtr & node) + { + return DB::extractKeyExpressionList(node); + } + /// Check that the part is not broken and calculate the checksums for it if they are not present. MutableDataPartPtr loadPartAndFixMetadata(const VolumePtr & volume, const String & relative_path) const;