From 6132b57bebcdd6efa44e75a08652922cea89c7d9 Mon Sep 17 00:00:00 2001 From: Anastasiya Rodigina Date: Sat, 18 May 2019 16:22:49 +0300 Subject: [PATCH] Fix style issues --- dbms/src/Storages/MergeTree/MergeTreeData.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbms/src/Storages/MergeTree/MergeTreeData.h b/dbms/src/Storages/MergeTree/MergeTreeData.h index 873a53dd522..307861b34e2 100644 --- a/dbms/src/Storages/MergeTree/MergeTreeData.h +++ b/dbms/src/Storages/MergeTree/MergeTreeData.h @@ -349,7 +349,7 @@ public: ASTPtr getSortingKeyAST() const override { return sorting_key_expr_ast; } ASTPtr getPrimaryKeyAST() const override { return primary_key_expr_ast; } ASTPtr getSamplingKeyAST() const override { return sample_by_ast; } - + Names getColumnsRequiredForPartitionKey() const override { return (partition_key_expr ? partition_key_expr->getRequiredColumns() : Names{}); } Names getColumnsRequiredForSortingKey() const override { return sorting_key_expr->getRequiredColumns(); } Names getColumnsRequiredForPrimaryKey() const override { return primary_key_expr->getRequiredColumns(); }