mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 20:02:05 +00:00
Update executeQuery.cpp
This commit is contained in:
parent
eb42896e26
commit
59a2c45555
@ -473,15 +473,12 @@ static std::tuple<ASTPtr, BlockIO> executeQueryImpl(
|
||||
if (settings.enable_global_with_statement)
|
||||
{
|
||||
ApplyWithGlobalVisitor().visit(ast);
|
||||
query = serializeAST(*ast);
|
||||
}
|
||||
|
||||
/// Normalize SelectWithUnionQuery
|
||||
NormalizeSelectWithUnionQueryVisitor::Data data{context.getSettingsRef().union_default_mode};
|
||||
NormalizeSelectWithUnionQueryVisitor{data}.visit(ast);
|
||||
|
||||
query = serializeAST(*ast);
|
||||
|
||||
/// Check the limits.
|
||||
checkASTSizeLimits(*ast, settings);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user