From 605c904fc64a6d1b8c98c62d1d5f5e518906f9f3 Mon Sep 17 00:00:00 2001 From: alesapin Date: Tue, 16 Jun 2020 11:39:12 +0300 Subject: [PATCH] Add method for compatibility --- src/Storages/MergeTree/MergeTreeData.h | 8 ++++++++ 1 file changed, 8 insertions(+) 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;