From 5a6beb7ad00ab999c7b356822d62a6a6d7ac38e7 Mon Sep 17 00:00:00 2001 From: yun Date: Thu, 14 Nov 2024 01:13:56 -0800 Subject: [PATCH] fix typo: parititon => partition --- src/Interpreters/TreeRewriter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Interpreters/TreeRewriter.cpp b/src/Interpreters/TreeRewriter.cpp index ea08fd92339..16b0e7ef199 100644 --- a/src/Interpreters/TreeRewriter.cpp +++ b/src/Interpreters/TreeRewriter.cpp @@ -1132,8 +1132,8 @@ bool TreeRewriterResult::collectUsedColumns(const ASTPtr & query, bool is_select auto partition_columns = partition_desc.expression->getRequiredColumns(); NameSet partition_columns_set(partition_columns.begin(), partition_columns.end()); - const auto & parititon_virtuals = MergeTreeData::virtuals_useful_for_filter; - partition_columns_set.insert(parititon_virtuals.begin(), parititon_virtuals.end()); + const auto & partition_virtuals = MergeTreeData::virtuals_useful_for_filter; + partition_columns_set.insert(partition_virtuals.begin(), partition_virtuals.end()); optimize_trivial_count = true; for (const auto & required_column : required)