mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
Review fixes.
This commit is contained in:
parent
bba45958c5
commit
7d42a44944
@ -511,7 +511,7 @@ void QueryAnalyzer::evaluateScalarSubqueryIfNeeded(QueryTreeNodePtr & node, Iden
|
|||||||
/// exception with this settings enabled(https://github.com/ClickHouse/ClickHouse/issues/52494).
|
/// exception with this settings enabled(https://github.com/ClickHouse/ClickHouse/issues/52494).
|
||||||
subquery_context->setSetting("use_structure_from_insertion_table_in_table_functions", false);
|
subquery_context->setSetting("use_structure_from_insertion_table_in_table_functions", false);
|
||||||
|
|
||||||
auto options = SelectQueryOptions(QueryProcessingStage::Complete, scope.subquery_depth, true /*is_query*/);
|
auto options = SelectQueryOptions(QueryProcessingStage::Complete, scope.subquery_depth, true /*is_subquery*/);
|
||||||
options.only_analyze = only_analyze;
|
options.only_analyze = only_analyze;
|
||||||
auto interpreter = std::make_unique<InterpreterSelectQueryAnalyzer>(node->toAST(), subquery_context, subquery_context->getViewSource(), options);
|
auto interpreter = std::make_unique<InterpreterSelectQueryAnalyzer>(node->toAST(), subquery_context, subquery_context->getViewSource(), options);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user