mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Merge pull request #71907 from yokofly/misc/typo-parititon-to-partition
TreeRewriter: fix typo: `parititon` => `partition`
This commit is contained in:
commit
05bd7f4b4c
@ -1132,8 +1132,8 @@ bool TreeRewriterResult::collectUsedColumns(const ASTPtr & query, bool is_select
|
|||||||
auto partition_columns = partition_desc.expression->getRequiredColumns();
|
auto partition_columns = partition_desc.expression->getRequiredColumns();
|
||||||
NameSet partition_columns_set(partition_columns.begin(), partition_columns.end());
|
NameSet partition_columns_set(partition_columns.begin(), partition_columns.end());
|
||||||
|
|
||||||
const auto & parititon_virtuals = MergeTreeData::virtuals_useful_for_filter;
|
const auto & partition_virtuals = MergeTreeData::virtuals_useful_for_filter;
|
||||||
partition_columns_set.insert(parititon_virtuals.begin(), parititon_virtuals.end());
|
partition_columns_set.insert(partition_virtuals.begin(), partition_virtuals.end());
|
||||||
|
|
||||||
optimize_trivial_count = true;
|
optimize_trivial_count = true;
|
||||||
for (const auto & required_column : required)
|
for (const auto & required_column : required)
|
||||||
|
Loading…
Reference in New Issue
Block a user