mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Update MergeTreeData.cpp
This commit is contained in:
parent
73cb7d55ec
commit
ab4415a22b
@ -3227,7 +3227,7 @@ String MergeTreeData::getPartitionIDFromQuery(const ASTPtr & ast, ContextPtr loc
|
||||
return partition_ast.id;
|
||||
}
|
||||
|
||||
if (const auto * partition_function = partition_ast.value->as<ASTFunction>())
|
||||
if (partition_ast.value->as<ASTFunction>())
|
||||
checkPartitionExpressionFunction(ast);
|
||||
|
||||
if (format_version < MERGE_TREE_DATA_MIN_FORMAT_VERSION_WITH_CUSTOM_PARTITIONING)
|
||||
|
Loading…
Reference in New Issue
Block a user