mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 18:12:02 +00:00
Update QueryAnalysisPass.cpp
This commit is contained in:
parent
3e16309e99
commit
61d4d9a46e
@ -5632,7 +5632,7 @@ ProjectionNames QueryAnalyzer::resolveFunction(QueryTreeNodePtr & node, Identifi
|
||||
argument_column.type = constant_node->getResultType();
|
||||
argument_is_constant = true;
|
||||
}
|
||||
else if(const auto * get_scalar_function_node = function_argument->as<FunctionNode>();
|
||||
else if (const auto * get_scalar_function_node = function_argument->as<FunctionNode>();
|
||||
get_scalar_function_node && get_scalar_function_node->getFunctionName() == "__getScalar")
|
||||
{
|
||||
/// Allow constant folding through getScalar
|
||||
|
Loading…
Reference in New Issue
Block a user