mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Fix build
This commit is contained in:
parent
0e04c2cbc8
commit
2377106370
@ -41,7 +41,7 @@ std::pair<Field, std::shared_ptr<const IDataType>> evaluateConstantExpression(co
|
||||
|
||||
auto ast = node->clone();
|
||||
|
||||
if (ASTSubquery * subquery = ast->as<ASTSubquery>())
|
||||
if (ast->as<ASTSubquery>() != nullptr)
|
||||
{
|
||||
/** For subqueries getColumnName if there are no alias will return __subquery_ + 'hash'.
|
||||
* If there is alias getColumnName for subquery will return alias.
|
||||
|
Loading…
Reference in New Issue
Block a user