mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 09:02:00 +00:00
fix typo: parititon => partition
This commit is contained in:
parent
7a393dc140
commit
5a6beb7ad0
@ -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