mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Update src/Interpreters/InterpreterSelectQueryAnalyzer.cpp
This commit is contained in:
parent
fefd071ec7
commit
5e1a3b5601
@ -56,6 +56,7 @@ ASTPtr normalizeAndValidateQuery(const ASTPtr & query, const Names & column_name
|
||||
if (column_names.empty())
|
||||
return result_query;
|
||||
|
||||
/// The initial query the VIEW references to is wrapped here with another SELECT query to allow reading only necessary columns.
|
||||
auto select_query = std::make_shared<ASTSelectQuery>();
|
||||
|
||||
auto result_table_expression_ast = std::make_shared<ASTTableExpression>();
|
||||
|
Loading…
Reference in New Issue
Block a user