Skip to content

Commit

Permalink
Update QueryAnalysisPass.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
KochetovNicolai committed Apr 11, 2024
1 parent 3e16309 commit 61d4d9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Analyzer/Passes/QueryAnalysisPass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 61d4d9a

Please sign in to comment.