mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 02:21:59 +00:00
create interpreter with changed select_query_options
This commit is contained in:
parent
20bdec61de
commit
b117d8ed12
@ -209,7 +209,7 @@ Block InterpreterSelectQueryAnalyzer::getSampleBlock(const QueryTreeNodePtr & qu
|
||||
{
|
||||
auto select_query_options_copy = select_query_options;
|
||||
select_query_options_copy.only_analyze = true;
|
||||
InterpreterSelectQueryAnalyzer interpreter(query_tree, context, select_query_options);
|
||||
InterpreterSelectQueryAnalyzer interpreter(query_tree, context, select_query_options_copy);
|
||||
|
||||
return interpreter.getSampleBlock();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user